Click here to Skip to main content
15,884,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello friends,

I have student records with group wise Admission No.i m facing a very big problem in crystal report. i want to set only 2 student records in every page.but i don't have any idea how to do it.. in every page i want to set only 2 student records .. do you have any idea how to solve it. if you have any formula or code for it then please reply me ASAP...

thanks in Advance
Posted

1 solution

To make it show 2 records per page do the following

Open the report in Design View
Right click on the Details section and select Section Expert
Make sure the Details section is selected in the Section Expert dialog box. Check the box that says “New Page After”
Click the formula editor button to the right of the checkbox.
Enter the following formula if Remainder (RecordNumber, 2) = 0 then true else false
Click Save and Close and then click OK. If you run the report it should break after each 2 rows.
 
Share this answer
 
v2
Comments
Naeem Khan 21-Oct-14 1:58am    
thank you so much for your reply but its not working... i have created it groups so i just want to 2 groups details in every page..

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