Back-to-Basics: List-Label

MV Solutions: May 1997

Nathan Rector

list-label {filename} {itemlist} {selectlist} {outlist} ({options}


The people that use their database for large mailings likely already know about LIST-LABEL. This command is used to format an ACCESS statement to print on some type of label.

Although this command is primarily used to create mailing labels, it can be used for anything that requires labels. The LIST-LABEL is not limited to any specific size of label. The only limitation is not being able to use more than one font or pitch size. You are limited to only using the font and pitch size originally set before the labels are printed.

Since only one font is allowed, you are not able to print bar codes or other symbols that may be needed. This limitation extends to printing graphics as well.

LIST-LABEL allows you to add selection criteria to the TCL sentence. The fields listed in the outlist are displayed on the label. If you are creating mailing labels, then you may have NAME, ADDRESS, CITY, ST, and ZIP. If you are doing packing labels, then you might use the fields JOB#, CUST.NAME, MAIL.ADDR, MAIL.CITY, MAIL.ST, and MAIL.ZIP.

To define what the page of label looks like, the following parameters are used:

column = the number of labels across

row = the number of printable rows on the label

skip = the number of non-printable row between each label

indent = the number of spaces to indent the printed information

size = the number of printable characters on the label. If the length of the printed string exceeds this length, then trim the extra characters off the end.

space = the number of non-printable characters between each label

c = the physical character of 'c'. This keeps blank lines from printing on the label. The 'c' can be keyed in upper or lower case.

Mailing label example:



Shipping label example: