Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Issue in Footer Displaying Post Reply Post New Topic
Author Message
Reva
Newbie
Newbie


Joined: 21 Aug 2020
Online Status: Offline
Posts: 11
Quote Reva Replybullet Topic: Issue in Footer Displaying
    Posted: 04 Sep 2020 at 2:27am
Missing Footer

Hi,

Existing report is having footer in main report header section (RHj) and checked print at bottom checkbox. it is working fine.

But in some cases, footer is not displaying,
In the section of RHi, I can have sub report. if subreport data have more rows, sub report moves to next page(2nd page) and hence 1st page footer is missing.

For a workaround, I tried to add another header section above subreport section for footer and tried with suppress formula.But it is not working as expected.

my formula:
count(condition)=1 then true
else false

For clarification:
Here,condition field used as grouping field of subreport. In our report, condition field data is only one, subreport data resides in 1st page. In case condition field is more than one, it goes to 2nd page.

Kindly help me to resolve this issue. Thanks in advance.




IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 09 Sep 2020 at 5:34am
I don't know the solution...because what I think is happening would mean running the subreport 2 times, which just makes things worse.

I think that for this to work, you need to know the number of rows in the subreport in RHj...but you cannot know that before you generate the subreport.

I cannot think of a simple workaround.

Sorry I cannot be more helpful
IP IP Logged
Reva
Newbie
Newbie


Joined: 21 Aug 2020
Online Status: Offline
Posts: 11
Quote Reva Replybullet Posted: 09 Sep 2020 at 8:06pm
Thanks for your reply Lockwelle.

Actually, I am not running the subreport 2 times.. I just added header section before and after the subreport section for displaying footer( which is based on we select print at bottom checkbox in the section)..
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.000 seconds.