Hi, I have a invoice system and I want to control only printed records.. if 1# record printed in grid it can be red for example.. I am printing report randomly for example 13# and 26# that means in grid only 13# and 26# must be red.. Thanks
Depending on the condition that makes a record red, you can use the DetailBand.BeforePrint event to check this condition and change the color of the text component if needed. For instance...
if ppReport1.DataPipeline['AmountPaid'] = 0 then ppDBText1.Color := clRed else ppDBText1.Color := clBlack;
Comments
Depending on the condition that makes a record red, you can use the
DetailBand.BeforePrint event to check this condition and change the color of
the text component if needed. For instance...
if ppReport1.DataPipeline['AmountPaid'] = 0 then
ppDBText1.Color := clRed
else
ppDBText1.Color := clBlack;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com