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

Numbering

edited March 2003 in General
I have a control number on a page that the user selects before they
preview/Print. How do I keep this number to stop calculating once it
has been previewed or printed. It seems when I scroll through the pages
it still is renumbering everything.

Paul

Comments

  • edited March 2003
    Paul,

    Try setting the Report.CachePages property to true. This should fix the
    issue you are having.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2003
    I was once facing the problem of having to start the page numbering at a
    specified value. Ex Page 1 was 201-10, page 2 was 201-11 etc.

    What I did, I don't know if it will help you is set my base page index
    before calling the print method. Then in my pplabel.ongettext event did the
    following code :

    // used 2 pass settings
    if Report.SecondPass then
    Text := '201-' + IntToStr(BaseNum + Report.AbsolutePageNo)

    I don't know if I remember the code exactly as it was but it's should look
    very similar to this.

    Cheers

    Daniel
This discussion has been closed.