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

New Page After in Sub Reports

Status
Not open for further replies.

Dross

Programmer
Aug 16, 2001
212
US
Using Crystal 9. I have an empty main report that contains 3 sub reports. The sub Reports are in report footers of the main report and the data itself is in a group header. I want each group to be on it's own page except on the last page because then it creates a blank last page.

I have tried several ways in the section expert to correct this, but can't seem to make it work. Any ideas?
 
Within each subreport, go to the section expert->group footer->new page after->x+2 and enter:

not onlastrecord

-LB
 
x+2 is an icon on the right-hand side of some 'expert' tabs. It leads to a work-area where you can define a formula.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Thanks. I have never seen anyone refer to it as x+2, just as the formula editor.

By the way, that didn't work
 
Please explain specifically what happened instead of just saying something didn't work.

-LB
 
Went to the sub report
went to section expert
Clicked on the formula enter next to New Page After
and put not onlastrecord in the selection.
closed and refreshed and the results did not change. There is a blank page after
 
A blank page after what? Each subreport? The last subreport?

If you go into the main report->design mode, you should minimize any white space in the report footer sections, and make sure you don't have any unused report footer sections. Also format the report footers to "suppress blank section".

In the subreports, also check in design mode to make sure you don't have any unused report sections that are displaying. If the subs can be null, also format each subreport to "suppress blank subreport".

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top