beanbrain
Programmer
- Dec 31, 2001
- 170
I have a query that returns data from two tables. One table contains general information and the second detail information. The records returned repeat the general information on each record along with the dynamic data from the detail table such that the detail data changes and the general information does not.
Report Header A and Report Footer B need to print on the first page along with six records on Detail A.
Report Header B, Report Footer B and Detail B need to print on the second page ONLY if the number of records is greater than or equal to seven (7).
I'm using RecordNumber along with Suppress on the Headers, Footers, and Detail to suppress or allow these sections to print depending on the number of records. However, I cannot seem to generate a second page without "New Page After" which pushes the Detail A section to a page filling length.
Ideally a formula in the Suppress areas will allow me to control what gets printed where, but I'm stumped.
I am using Crystal Report 10 with Sybase.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Report Header A and Report Footer B need to print on the first page along with six records on Detail A.
Report Header B, Report Footer B and Detail B need to print on the second page ONLY if the number of records is greater than or equal to seven (7).
I'm using RecordNumber along with Suppress on the Headers, Footers, and Detail to suppress or allow these sections to print depending on the number of records. However, I cannot seem to generate a second page without "New Page After" which pushes the Detail A section to a page filling length.
Ideally a formula in the Suppress areas will allow me to control what gets printed where, but I'm stumped.
I am using Crystal Report 10 with Sybase.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886