Click here to Skip to main content
15,904,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi guys,

Im working on a project with crystal reports, the datasource of the crystal reports is an xml file and in the design view of the crystal reports i drag and dropped the data from the datasource to the detail section. The problem is there are too many data in the detail view so it doesn't display anything in the report preview, when i tried to display only a few data it works fine, my guess would be that all of the data won't fit in one page. I already did some research and found some grouping scheme and stuff but in my case drag and drop is more preferable because i want to format the report. Is there anyway to do this without grouping? Thanks in advance.
Posted

1 solution

To show 30 records per page, do the following:
1. Open the report in Design View
2. Right click on the Details section and select Section Expert
3. Make sure the Details section is selected in the Section Expert dialog box. Check the box New Page After
4. Click the formula editor button to the right of the checkbox.
5. Enter the following formula: If Remainder (RecordNumber, 30) = 0 Then True Else False
6. Click Save, Close and then click OK.
 
Share this answer
 
Comments
Sandeep Mewara 14-Jun-12 16:33pm    
Good answer. 5!
brijesh28041989 12-Oct-13 1:51am    
thanks it works
Maciej Los 14-Jun-12 17:47pm    
Thank you, Sandeep ;)
Maciej Los 12-Oct-13 16:06pm    
You're welcome ;)
ShaikhM 15-Jun-12 1:07am    
Would be good to see the question poster come back and mark it as Answer. Most dont.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900