Data Storage Statements

Data storage statements return the results of the calculation to the variable field that initiated the script or stores the results in the variable field you specify.

You use keywords for storing data. Keywords define the statement operations and are reserved for use in the calculation language. You cannot use these keywords in variable field names. Keywords are not case sensitive.

Note Keywords are the only way to return or store data results in a variable field.

Keyword

Action

Return

Directs a calculation to return with or without a value to the variable field that initiated the script. Returns target variable results to a DAL script from another DAL script (see Flow Control Statements); sends control back to the original script.

SetFld

Assigns a value or the results of a calculation (target variable) to a variable field on a section. The variable field maybe on any section or form in the form set

AppendText

Attaches text to the end of a multiline text field from an external ASCII text field.

AppendTxm

Attaches text to the end of a multiline text field from the first text area field found on a section you specify.

AppendTxmUnique

Attaches text to the end of a multiline text field from the first text area field found on a section you specify. Also renames any embedded variable field imported from the external text area. Embedded variable fields will then have a unique name.