I've a report with Group and Detail bands. If the first record of detail is the same of Header Group, i need to skip one record forward to avoid print this record. How can i do that?
Inside the DetailBand.BeforePrint event you can check the value of the text in the group header and if it is the same as what will be printed in the detail band, you can set the visibility of the components to False. Something like the following...
if GroupDBText.Text = Report.DataPipeline['MyField'] then DetailDBText.Visible := False else DetailDBText.Visible := True;
Comments
Inside the DetailBand.BeforePrint event you can check the value of the text
in the group header and if it is the same as what will be printed in the
detail band, you can set the visibility of the components to False.
Something like the following...
if GroupDBText.Text = Report.DataPipeline['MyField'] then
DetailDBText.Visible := False
else
DetailDBText.Visible := True;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com