CREATE LABEL

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Create a label definition file through a full screen form


Syntax

CREATE LABEL <filename> | (<expC>)


See Also

@...SAY, CREATE REPORT, REPORT, TREPORT, SET DEVICE, SET PRINT, SET PRINTER


Description

The CREATE LABEL command is a full screen command used to create a label format file, which can subsequently be processed using the LABEL command. The LABEL command is used to generate mailing or other labels. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is specified, then '.lbl' is used.

The CREATE LABEL command displays two screens to prompt for the label format details. The first screen is used to define the following information:


Setting Minimum Maximum Default
Width of label 1 120 35
Height of label 1 12 5
Left margin 0 256 0
Lines between labels 0 16 1
Spaces between labels 0 120 0
Number of labels across 1 15 1
Remark N/A N/A 3 ½" x 15/16" x 1


The second screen allows you to enter the Recital/4GL expressions for each line of the label. Any valid expression may be entered. Entering multiple expressions, separated with a comma ',', causes each expression to be evaluated, trimmed and output with a single space between each result. This is the equivalent of trim(<expression>) + " " + trim(<expression>) ... .

Fields in currently active tables can be selected from a popup choicelist when the [HELP] key is pressed or the 'Fields' menu item selected from the menu bar.


Example

use patrons index events
create label operalabels
label form operalabels for event = "OPERA"


Products

Recital