Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
1.33/5 (2 votes)
See more:
I created a report in Crystal Report with few header section and footer section
with following criteria

1. Header print only on first page.
2. Footer print only on last page.

Now some time what happens that when the last row of my detail section print on second last page, the last page comes blank only with footer, because it does not have enough space to print the footer below last record.

I want that whenever such situation arise. It must print last record on last page.

I tried everything but was unable to fix the problem

Please help
Posted

If you aren't using grouping, try this:

    Add an additional section below your last detail section.
    In Section Expert, mark the detail section Keep Together.
    For the suppress formula for the new section, specify Not OnLastRecord.
    Move the content from the report footer to the new detail section.

If you are using grouping, do this in the last group footer instead, and in Group Expert, mark the group Keep Group Together.


This is not my solution, full credit goes to the author below.
http://stackoverflow.com/questions/7611963/making-report-footer-to-appear-just-below-the-last-page-records[^]
 
Share this answer
 
http://i.stack.imgur.com/nLLfC.jpg[^]

I have given link of screen shot ...Please advise where should I insert a new detail section

Regards,
Biju
 
Share this answer
 
Comments
bijukmv 3-Feb-13 23:53pm    
http://i.stack.imgur.com/nLLfC.jpg[^]

I have given link of screen shot ...Please advise where should I insert a new detail section

Regards,
Biju

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