MYOB EXO Business

Hide NavigationShow Navigation

  • Contents
  • Index
  • Search
 
Show results that include all search words

 

Label Printing

Select File > New and chose Label Template, then select a label type.

Printing Multiple Labels per Document Line

To print multiple labels per line:

  1. Set the bandsperrecord property of the detail object to the quantity of labels required per line.

  2. Keep track of the number of times the detail is printed so that the value may be assigned to the print count property of the detail in a later event. This may be done by using a variable to keeping a running balance of the number of times the detail is printed.

Detail.BandsPerRecord := Master['Ord Quant'];

Variable1.Value := Variable1.Value + 1;

  1. Assign the value of Variable1 to the print count property of the detail:

Detail.PrintCount := Variable1.Value;

Note: See SOLine.CLF in the Clarity Masters for an example of this function.

Printing “Box X of Y”

In addition to producing multiple labels per document line you may wish to display “Box X of Y” on each label.

  1. Declare a global variable called labelcount:

  2. Increment the value of the global variable (to be displayed as box X) until it equals the bandsperrecord property (to be displayed as Y value) then set it back to 0 for the next set to begin: