Reprint on subsequent page
I ould like to turn off the repirnt of the group header on subsequent pages
at report creation time, but the following code is not pemitted (Read only
property)
Can anyone tell me how to do this please
// (Rep.Groups[0].ReprintOnSubsequentPage) := False;
Thanks in advance.
Tony
at report creation time, but the following code is not pemitted (Read only
property)
Can anyone tell me how to do this please
// (Rep.Groups[0].ReprintOnSubsequentPage) := False;
Thanks in advance.
Tony
This discussion has been closed.
Comments
The TppGroup.ReprintOnSubsequentPage property is published and read/write.
In my quick testing I was able to successfully set this property at runtime.
Are you certain you are not using the similar property ReprintOnSubsequent?
(Which is read only).
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
My line of code won't compile with message "Left side can not be assigned
to"
Even if I cast it, as below it still fails.
I am truly surprised !
TPPGroup(Rep.Groups[0]).ReprintOnSubsequentPage := False;
compile, and it appears to work when tracing, but the report does not
follow. ie It always stays with the Design time setting
TPPGroup(Rep.HeaderBand).ReprintOnSubsequentPage := True;
I have this in the vorePrint event.
Which version of ReportBuilder are you using? Is this code in RAP or
Delphi? If you take a look at the TppGroup class source located in the
ppClass.pas file, is the ReprintOnSubsequentPage property read/write?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com