Skipping labels and copies
I have been using the example:
http://www.digital-metaphors.com/tips/SkipLabelsRap.zip
This works great as long as I only want one label. Can anyone tell me
the best way to do this if I want "N" number of labels.
Thanks,
Nick
http://www.digital-metaphors.com/tips/SkipLabelsRap.zip
This works great as long as I only want one label. Can anyone tell me
the best way to do this if I want "N" number of labels.
Thanks,
Nick
This discussion has been closed.
Comments
Try adjusting the DetailBand.BandsPerRecord. This should create this many
copies of each label displayed.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
long...going brain dead. Below is the code I'm using.
I have replaced Report.DetailBand.BandsPerRecord := 1 with
Report.DetailBand.BandsPerRecord := nCopy. nCopy being the number of
copies I am passing in through RAP.
if ((((Report.CurrentColumn - 1) * FTotalBandsPerColumn) +
Report.DetailBand.Count) = (nSkip - 1)) then
begin
Report.DetailBand.BandsPerRecord := nCopy;
Region1.Visible := True;
end;
Thanks,
Nick
Try setting the BandsPerRecord inside the BeforeGenerate event rather than
the BeforePrint event. I believe the BeforePrint event fires too late to
change the BandsPerRecord property.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com