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

How to prevent print sub reports on new page? 1

Status
Not open for further replies.

alexbelovtt

Programmer
Nov 15, 2005
51
US
I’m using Crystal XI and VB6.
In main report I use dozen of sub reports.
Some of sub reports displays right after previous, but some begins form new page.
I’m try "New page after" for sub reports as well as for sub reports sections.
It does not work.
Actually I have two questions – how to prevent and how to force next sub report displays on to the next page.
Thank you.
 
I'm not exactly clear on what you have tried so far, but if you put each subreport that you want to start on a new page in its own subsection of the main report, you can then check the New Page Before box in that section of the main report.

I think that should work.

MrBill
 
As Mr Bill suggests, make sure that each subreport is in it's own section or subsection.

Then you can use NEW PAGE AFTER or NEW PAGE BEFORE.

-K
 
To prevent, turn OFF the option of "Keep Together" in the format options of the subreport (note: that is a format property of the subreport -- NOT of the section).

To force, use NEW PAGE BEFORE for the section.

hth,
- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Thank you, Ido
That is works now.
First thing at the morning I try all you suggesting setting and nothing changed.
Then I reimport subreport and repeat settings – now works perfect.
Alex
:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top