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

print a number of labels

edited August 2001 in General
I am trying to print customer labels. It works if I print one label per
customer.
If each record has a number field which indicates how many labels should be
printed.
How do I do it?

Thank you

Comments

  • edited August 2001
    You might want to try using the DetailBand.BeforePrint event to dynamically
    set the DetailBand.BandsPerRecord property.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2001
    One method would be to use a TppJITPipeline, and do your own coding for
    traversal.

    HTH,
    Ed Dressel
    Team DM

  • edited August 2001
    How do I print on each label something like this:
    1 of 3, 2 of 3, 3 of 3


  • edited August 2001
    You would have to create a TppVariable and code its OnCalc event handler to
    perform that calculation. The default data type of the variable is string.
    In RAP you could declare a global integer variable to track the count (the
    BandsPerRecord total is already known), and use the TppVariable to calculate
    and display the (n of N) string. Outside of RAP, you wold need to use
    another TppVariable to track the increment value for the label count and
    reset it when the detail band changes to a new value.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.