Prining a detail band more than one times manually
I need to print a detail band more then one times. How often dependes on a
value from the database. The problem is that I do not have
for exsample 4 records, I just have one record with the value 4.
How can I do that?
Best regards
Sven Langenkamp
CT Datentechnik GmbH
Eschenstr. 2
D-31582 Nienburg/Weser
Germany
Telefon: +49 [0] 5021 - 9724-15
Telefax: +49 [0] 5021 - 9724-18
http: www.ctdatentechnik.de
e-mail: langenkamp@ctdatentechnik.de
value from the database. The problem is that I do not have
for exsample 4 records, I just have one record with the value 4.
How can I do that?
Best regards
Sven Langenkamp
CT Datentechnik GmbH
Eschenstr. 2
D-31582 Nienburg/Weser
Germany
Telefon: +49 [0] 5021 - 9724-15
Telefax: +49 [0] 5021 - 9724-18
http: www.ctdatentechnik.de
e-mail: langenkamp@ctdatentechnik.de
This discussion has been closed.
Comments
You will need to toggle the DetailBand.BandsPerRecord property on the fly as
your data is traversed. To start off, try setting this value in the
DetailBand.BeforePrint or BeforeGenerate event.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
subreport is not printet n times. If I try it with a detail without
subreport (textfields, lines ...) it workes great.
DetailBand.BandsPerRecord to a higher number than 1. Do you want to print n
subreports per band? If so, you will need to dynamically create more
subreport objects and copy the first template into each of them before the
main detail band prints.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com