You will need to supress the repeated values manually in this case. You could perhaps add the DBText and the line to a TppRegion and toggle the region's visibility. Something like the following...
procedure TForm1.FormCreate(Sender: TObject); begin FPreviousValue := 0; end;
procedure TForm1.ppDetailBand1BeforePrint(Sender: TObject); begin ppRegion1.Visible := (FPreviousValue <> ppReport1.DataPipeline['CustNo']);
Comments
You will need to supress the repeated values manually in this case. You
could perhaps add the DBText and the line to a TppRegion and toggle the
region's visibility. Something like the following...
procedure TForm1.FormCreate(Sender: TObject);
begin
FPreviousValue := 0;
end;
procedure TForm1.ppDetailBand1BeforePrint(Sender: TObject);
begin
ppRegion1.Visible := (FPreviousValue <> ppReport1.DataPipeline['CustNo']);
FPreviousValue := ppReport1.DataPipeline['CustNo'];
end;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com