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

Bug on OnStartPage Event

edited November 2004 in General
I'm using RB7.02 with D7. The printer model doesn't matter.

I put some code on OnStartPage that access de FieldValue property
of one ppDBText, but the value returned refers to the previous page!!!!

Only works correctely on the first page....


Thanks


Heraldo

Comments

  • edited November 2004
    Hi Heraldo,

    This is not a bug, simply the way the engine was designed to work :). The
    OnStartPage event fires before the dataset has begun traversing the data
    again after a page break. Your data will not start traversing again until
    the detailband.BeforePrint event fires.

    --
    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.