Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Reprint on subsequent page

edited September 2007 in General
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

Comments

  • edited September 2007
    Hi Tony,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2007
    Giday Nico. Yes that is correct.

    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;


  • edited September 2007
    Hi Again. Not having a lot of success with this. I can get this casting to
    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.




  • edited September 2007
    Hi Tony,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.