Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Mailing labels based on field value

edited October 2005 in End User
Hello,

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.

John

Comments

  • edited October 2005
    Hi John,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.