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

IsLastRecord

edited August 2017 in General
Hi,

is there a way within RAP in an event (e.g. OnGetBreakValue) to
determin that the dataset is positioned on the last record.

Intention:
The very last group-footer should display more information as the
groupfooters before.

Regard,
Josef

Comments

  • edited August 2017
    Hi Josef,

    You can check the DataPipeline.EOF to determine if you are on the last
    record. In my quick testing, I was successfully able to change the
    color of a shape inside the last group footer in RAP.

    procedure GroupFooterBand1BeforePrint;
    begin
    if Report.DataPipeline.EOF then
    Shape1.Brush.Color := clRed;

    end;

    --
    Best Regards,

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