Topic: Suppress page header if no data on page Posted: 22 Feb 2008 at 5:44am
Hi all,
in my report i have page header (a) and (b). On the last page of the report, page header (b) is to be suppressed if no data is found for display in GroupHeaderSection2.
Therefore I've tried it with the following script at 'suppress (no drill-down)':
if CStr({databasefield}) = "" and pagenumber=TotalPageCount Then true else false;
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Posted: 22 Feb 2008 at 8:00am
Try using this:
OnLastRecord
BTW, if you have an expression that evaluates to True or False, you don't need to use the If...Then construct. For example, in your formula you could do just :
CStr({databasefield}) = "" and pagenumber =TotalPageCount
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum