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

Question about subreports 1

Status
Not open for further replies.

clarsen

MIS
Apr 30, 2001
5
US
I'm new to Crystal reports and in a report I'm designing, I've inserted a subreport. But if the subreport returns more than 5 records, I want it to go to a new page. How can I do this?
 
Clarson:
Please follow step by step:
Put your cursor on the left side of the Detail line.
Right Click your mouse.
Click on Format.
Check New Page After checkBox.
Click On the Formula Button (the X2 Button on the Right on the right of New Page After
Copy this Formula:
Remainder (RecordNumber, 5) = 0
Click Accept.
Notice the X2 Button turning red.
Click OK.
Preview your report now.


This will make your report jump to a new page after every 5TH record.

Good Luck Kamal Khalil
Sr. Client Technical Analyst
kkhalil@Houston.ds.adp.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top