CHAIN_T

This command closes the data entry session and loads the specified template. Role settings are ignored when using this command.

Syntax

CHAIN_T "template_name", "ignore_save_changes"

If the specified template_name does not exist, or if the user does not have access to this template, then the user will be prompted to select from the list of templates to which they have access.

If any numeric data values have been entered but not yet saved, the "ignore_save_changes" parameter determines whether or not the user will be prompted to save this data. Valid options for this parameter are:

"ignore_save_changes"

explanation

"Y"

Do not prompt the user to store data that has not been saved.

any other value (e.g., "N" or "")

Prompt the user to store data that has not been saved.

Return value

This command returns the number 0.

Examples

CHAIN_T "MicroRidge Entry, 4 features", " N"

This formula prompts the user if data has been entered but not saved, closes the current data entry session, and opens the template named "MicroRidge Entry, 4 features".

CHAIN_T "", "Y"

This formula closes the current data entry session and prompts the operator to select from the list of available templates.