Print Page | Close Window

Printing on next page if details lines >10

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=22315
Printed Date: 29 Apr 2024 at 9:00am


Topic: Printing on next page if details lines >10
Posted By: Ajith
Subject: Printing on next page if details lines >10
Date Posted: 31 May 2017 at 7:45pm
I have a crystal report needs to be printed next page if the detail section is having more than 10 lines .

Basically , if the detail lines are more than 10 then header section and footer section should be printed in the next page along with the detail lines starting from line number 11 .




Replies:
Posted By: kevlray
Date Posted: 01 Jun 2017 at 9:40am
The only way I think this is possible is to have a sub-report in the Report Header and it return either a count or flag to indicate whether or not there are more than 10 records.  Then you can use that information to show/hide the sections.


Posted By: Ajith
Date Posted: 12 Aug 2017 at 11:28pm
Thanks kevlray

I managed to fix it using your advice ..

brgds
Ajith



Print Page | Close Window