I am wondering if someone can help me with code on having labels print on a field value. For example if the field value is three then three labels would print.
1. If you are keeping the labels on one page only, you can set the DetailBand.PrintCount property to the number of labels you need. (Note: you will also need to set Report.AutoStop to False and Report.PageLimit to 1).
2. You can connect a JITPipeline to your report and set the JITPipeline.RecordCount property to the field value. This way if you needed to print a large number (say 300 labels) it would print that many across pages.
Comments
Two options...
1. If you are keeping the labels on one page only, you can set the
DetailBand.PrintCount property to the number of labels you need. (Note: you
will also need to set Report.AutoStop to False and Report.PageLimit to 1).
2. You can connect a JITPipeline to your report and set the
JITPipeline.RecordCount property to the field value. This way if you needed
to print a large number (say 300 labels) it would print that many across
pages.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com