Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ONLASTRECORD

Status
Not open for further replies.

dinshak

Technical User
Oct 31, 2007
39
US
I have a heading that I need to suppress, but after the last record not on last record. So Under section expert, suppress formula I added onlastrecord but that is suppressing the heading on last record. Can anyone tell me how to suppress it after the last record has been printed.
 
my question is how do you have a header appearing after your last record?
 
You can create two formulas:

//{@false} to be placed in the report header:
whileprintingrecords;
booleanvar flag := false;

//{@true} to be placed in the report footer:
whileprintingrecords;
booleanvar flag := true;

Then in the section expert, select the page header section->suppress->x+2 and enter:

whileprintingrecords;
booleanvar flag;
flag = true; //note no colon

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top