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

OngetBreakValue ResetPageNo

edited July 2008 in RAP
Using 10.07 and Delphi7 I am trying to optionally Perform a PageBreak and
Reset the PageNo per variables set in the database record for the group.
The page break works fine, the ResetPageNo does not. Here is my code:

Report.Groups[0].NewPage := plnCaption['NewPage'] = 'Y';
Report.Groups[0].NewPage:- plnCaption['NewReport'] = 'Y';

Am I missing something?

thanks!

Sher

Comments

  • edited July 2008

    In the code you posted, I do not see anything about ResetPageNo, both lines
    say Report.Groups[0].NewPage.

    That said, I do not think conditionally configuring the group properties
    will work. Most Group properties are designed to be configured prior to
    calling Report.Print. This is similar to generation properties such as
    Report.PassSetting.



    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
    \

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.