[Crystal Report] Limit Record on detail section

Description
     Sometime we need limit record on detail section and bring them to another new page. how ?

HowTo
    1. look at the picture below, here's the example :


    2. Right click on the Detail and chose section expert



    3. Check "New Page After" and click button code. look at the picture below



4. fill with this source code, for example i want to limit 5 record, so record 6++ will be on other page
    if Remainder (RecordNumber, 5) = 0
    then true
    else false

Post a Comment

Harap gunakan bahasa yang baik dan sopan, terima kasih