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;
Comments
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;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com