Printing "continued" on next page
If a group breaks across a page, I want to reprint the group header text (which is dynamically created) followed by "continued...". I was using the OnGetText property of the TppLabel component to determine the text of the lable in addition to setting the "continued..." as necessary.
I was simply checking the Breaking property of the group to see if I needed to add "continued...", and this works fine EXCEPT for the very first time that the label is printed.
Text := [Insert function to determine text]
if not grpMain_ClaimFormat.Breaking then
Text := Text + ' continued...';
Is there a better way to do this?
Brandon
--
"In the beginning the universe was created. This has made a lot of people very angry, and has been widely regarded as a bad move." - Douglas Noel Adams (1952-2001)
[Please remove "nospam_" from email address to reply.]
I was simply checking the Breaking property of the group to see if I needed to add "continued...", and this works fine EXCEPT for the very first time that the label is printed.
Text := [Insert function to determine text]
if not grpMain_ClaimFormat.Breaking then
Text := Text + ' continued...';
Is there a better way to do this?
Brandon
--
"In the beginning the universe was created. This has made a lot of people very angry, and has been widely regarded as a bad move." - Douglas Noel Adams (1952-2001)
[Please remove "nospam_" from email address to reply.]
This discussion has been closed.
Comments
number 71. It prints a 'continued...' label on the next page. It uses the
DetailBand.Overflow property to determine if the label should be shown. The
event to use is the DetailBand.BeforePrint event.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Didn't even realize that was there, but then I was focusing on the group, not the detail.
Thanks,
Brandon
--
"In the beginning the universe was created. This has made a lot of people very angry, and has been widely regarded as a bad move." - Douglas Noel Adams (1952-2001)
[Please remove "nospam_" from email address to reply.]