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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remainder with surpress 1

Status
Not open for further replies.

isjorg

IS-IT--Management
Mar 20, 2007
15
BE
Hi,

on the Detail line I use the following in the format section :

Details : New Page After --> remainder(RecordNumber,32)=0

Using this = OK, but (!) what can I do so Crystal doesn't count the detail lines who are suppressed so it doesn't create empty lines on the pages?

Thanks for helping me.

JM
 
Use a variable instead of record count, place this formula in details line and format to supprress so that it is not visible.

@line count

whileprintingrecords;
global numbervar lines;
If (whatevre are your suppressionrules) = true then lines := lines+1;

In your next page rules

whileprintingrecords;
global numbervar lines;

remainder(lines,32)=0


Ian



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top