Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Set limited records in detail section! Post Reply Post New Topic
Author Message
atp2K3
Newbie
Newbie


Joined: 29 Dec 2011
Online Status: Offline
Posts: 10
Quote atp2K3 Replybullet Topic: Set limited records in detail section!
    Posted: 14 Aug 2012 at 4:27am
Hello all,
 
I read the link how to set maximum number of record in detail section in Crystal Report at  http://stackoverflow.com/questions/5483252/how-to-set-maximum-number-of-record-in-detail-section-in-crystal-report 
 
I applied that code with the index 1, 2, 3, 4, 5 not 1, 3, 4, 5, 6 as posted but I have an issue on paging when the number of records is equal 6. In my Crystal Report, there are two pages: first page contains 6 records and the second blank page is displayed 5 empty blank records. I expect to see one page with 6 records only. How do I can suppress the second page? Thanks in advance.    
 
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 14 Aug 2012 at 4:52am
I would set suppress formulas on the sections in the Section Expert.  The formula would look like this:
 
PageNumber > 1
 
-Dell
IP IP Logged
atp2K3
Newbie
Newbie


Joined: 29 Dec 2011
Online Status: Offline
Posts: 10
Quote atp2K3 Replybullet Posted: 14 Aug 2012 at 7:44am
Hi,
 

I am not always suppressed the second page. Suppose to be 15 actual records in database, there are even having three pages. I only need to supress the blank second page in case of number of actual records is equal 6. Therefore, your suggestion were not working. I also try several other options for suppress under Section Expert but in vain? I really appreciate your expertise on Crystal Report how to work around with my issue. I look forward any inputs soon. Thanks in advance.

Edited by atp2K3 - 28 Aug 2012 at 5:40pm
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.