Hello
I use the AfterPrint event of a GroupFooter to set the textValue in the pagefooter to some calculated value.
Sometimes the event will be fired on the page but after that, a page break will be added. So, my calculation shows the wrong value, because the group will be placed on the next page.
How can I find out, if a page break will be happened on a group?
Thank you
Andreas
AfterPrint event from GroupFooter
-
- Posts: 63
- Joined: Fri Jul 17, 2009 5:00 am
- Location: St. Gallen, Switzerland
AfterPrint event from GroupFooter
Hello,
You can use the following code:
Thank you.
You can use the following code:
Code: Select all
{LastOnPage(DataSource,"FieldName")}
-
- Posts: 63
- Joined: Fri Jul 17, 2009 5:00 am
- Location: St. Gallen, Switzerland
AfterPrint event from GroupFooter
Thank you for you answer.
I also made a mistake, that I used the AfterPrint Event from the GroupFooter. But there is a child band to this Band which caused the page break. I moved the code to the ChildBand and everything is working fine.
Thank you
Andreas
I also made a mistake, that I used the AfterPrint Event from the GroupFooter. But there is a child band to this Band which caused the page break. I moved the code to the ChildBand and everything is working fine.
Thank you
Andreas
AfterPrint event from GroupFooter
Hello Andreas,
We are always glad to help you!
Let us know if you need any additional help.
Thank you.
We are always glad to help you!
Let us know if you need any additional help.
Thank you.