TEMPTEXT
Describe a temporary text field
TEMPTEXT name TTEXT "text" [DESCRIPTION "description"]
Arguments
name
The name of the temporary text field. It can have up to 15 characters and cannot contain spaces.
TTEXT “text”
The text of the temporary text field. It can have up to 80 characters.
DESCRIPTION “description”
(optional) A description of the text field. It can have up to 40 characters.
Discussion
The TEMPTEXT statement describes a temporary text field to be created in a report.
A text field defines a text string to print. Temporary text fields are not found in the repository. You must specify the temporary text field’s name and text. The maximum number of text fields that can be defined in a report is 99.
If your temporary text field does not have a unique name, it must be preceded by “TEMP.”. For example, if your temporary field is called CITY and one of the selected files also contains a field called CITY, you would specify the temporary field like this:
TEMP.CITY
Examples
- In the following example, TEMP1 is the name of the temporary text field and “*” is the text for this field.
TEMPTEXT TEMP1 TTEXT "*"
- In the example below, TEMP2 is the name of the temporary text field and “<-------” is the text for this field. The description of the field is “After Deadline.”
TEMPTEXT TEMP2 TTEXT "<-------" DESCRIPTION "After Deadline"