list-label

list-label


list-item Index Level logical connectives
Syntax list-label file.reference {itemlist} {sellist} {outlist} {modlist} {(options)}
Category Access
Type Verb
Description produces one or more columns of output.

After pressing <return> to submit the Access sentence for processing, a "?" prompt appears. This prompt is to supply the comma separated label output parameters:

columns,rows,skip,indent,size,space,c

columns  the number of labels across the page.
rows     the number of print lines on each label.
skip     the number of lines (vertically) between labels.
indent   the number of spaces to indent from left margin.
size     the number of print positions per label.
space    the number of spaces (horizontally) between labels.
c        compresses null values.


If the "indent" parameter is not zero, this command prompts for entry of the "header" text for each print line requested. If any text is entered at any of these prompts, that text will appear before the corresponding print line on the left-most (1st) column only. Pressing <return> at any of these prompts indicates a null header.

The labels are printed in the same order as the items appear in the file. To change the ordering use the "sort-label" command.
Options
See Also options: sort-label file.reference itemlist outlist sellist selection criteria modlist
Example :list-label entity contact company address csz (cip
?2,4,1,0,30,2,c

The label parameters shown define the output as having 2 labels across, 4 lines each (contact, company, address & csz), skip 1 line, indent 0 (zero - assumes labels are aligned at the first print position), 30 print positions each (longer strings are truncated to 30, in this case), space over 2 to the right between each label, and "c" for "compress" nulls (don't allow blank lines within the label).
Warnings This verb has a habit of stopping with an obscure message indicating that "the range of the parameter (whatever) is unacceptable". This occurs when the total width of the labels, including spaces between each column, is greater than the width of the output device, as determined by the "term" command.

If problems exist with the formatting of the "list-label" output, try using the "tcl-hdr-off" command first and a "k" option with the "list-label" command.
Compatibility D3 7.0 AP R83
list-item Index Level logical connectives