Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have set the details selection >> new page after

[if recordnumber mod 15 =0 then
else false ]

I got a problem when my data record is 15. If my data record is 15 then generate extra page. If data row any number except 15 rows , report generate accurate page.

please some one help me.

What I have tried:

if recordnumber mod 15 =0 then
else false
Richard Deeming 24-Mar-21 5:42am    
You need to check whether the record number is equal to the record count (or possibly one less than the record count, depending on whether the record number is zero-based or one-based) and return false in that case.

I haven't touched Crystal Reports for over a decade, so I don't know the precise syntax you need.

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