Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Compare values in different sections Post Reply Post New Topic
Author Message
langley111
Newbie
Newbie


Joined: 14 May 2007
Location: United States
Online Status: Offline
Posts: 3
Quote langley111 Replybullet Topic: Compare values in different sections
    Posted: 14 May 2007 at 9:06am
I am new to Crystal, so please be gentle. I have a need to check a value in a header section versus a value in the footer section. It appears in certain instances my data causes my report to overflow to a second page, but the page count doesn't increase. The data is correct except the header information. The issue was fixed by decreasing the size of a label at the bottom of the page and slightly decreasing the page footer section. But, I am trying to put in a check for this situation.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 14 May 2007 at 9:46am
What are the symptoms of "the page count doesn't increase"?  How do you know it's not increasing?
 
-Dell
IP IP Logged
langley111
Newbie
Newbie


Joined: 14 May 2007
Location: United States
Online Status: Offline
Posts: 3
Quote langley111 Replybullet Posted: 14 May 2007 at 9:52am
When I decrease the size of the label as well as the size of the page footer, I get the same record count. The data is now correct as well. If I slightly increase the label and page footer, the record count stays the same, but the header information is incorrect. The detail section displays properly, but the previous page's header information is printed. Am I at least making sense in regards to what I am trying to explain?
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 14 May 2007 at 10:09am
Ok.  Do you get two group headers - one with the data for the previous group and one with next group?  If so, how large is the group footer?  Is this happening with all of your groups in this report, or just one specific one?
 
What I think may be happening is that your group footer has white-space at the bottom, so it doesn't quite finish rendering on the previous page when your other sections are wider.  So, it goes to the next page and you see the Header (because you have Repeat Header on every page turned on.)  Your best option is to reduce the amount of white-space in the footer - unless I have summary data that I need to display, I usually use a fairly narrow group footer, frequently with a line in it to visually separate the two groups.
 
-Dell
IP IP Logged
langley111
Newbie
Newbie


Joined: 14 May 2007
Location: United States
Online Status: Offline
Posts: 3
Quote langley111 Replybullet Posted: 14 May 2007 at 10:34am
There is only a page header, details, 1 group footer, and a page footer. There is a box drawing that is in the pager footer, details, group footer, and page footer sections. I am modifying an existing report.

But, I agree with your assessment. It has to be an issue with the rendering of a section as this situation only exists in 11 out of 11,000 pages. But, it is the page footer and not a group footer that we had to modify to remedy the situation.

BTW, I really appreciate your time and assistance with this situation.
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.015 seconds.