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

How to identify the first record on a page in a grouped report ?

edited September 2007 in General
Hi,

I need to identify the first record on a page in a grouped record.
Detailband.printcount doesn't work.

Any idea ?

Marion

Comments

  • edited September 2007
    Marion wrote:



    Hi,

    we do it like this:

    1) Define a global variable (e.g. IsFirstRec: Bool)
    2) Set IsFirstRec := True in event ReportOnStartPage
    3) Set IsFirstRec := False in event DetailAfterPrint

    In DetailBeforePrint (for instance) can you check for IsFirstRec.

    Regards,
    Josef Gschwendtner
    Quattro-Soft GmbH
This discussion has been closed.