Using ACCEPT=SYNONYM in a Master File

How to:

The functionality of ACCEPT in a Master File has been extended. When placed on a FIELD declaration, it can be used to control the values that show up in a filter (WHERE) dialogue box. When used with a global amper variable in the Master File, it can be used to control the values displayed by the Amper Auto-Prompting facility.

The ACCEPT attribute supports the following types of operations:


Top of page

x
Syntax: How to Use ACCEPT = SYNONYM in a Master File
ACCEPT=SYNONYM(lookup_field AS display_field IN lookup_synonym)

where:

lookup_field

Is the field in the lookup_synonym whose value will be used in the filter (WHERE dialogue) or by the amper autoprompt facility that will be compared with the field that has the ACCEPT attribute.

display_field

Is the field in the lookup_synonym, whose value will be displayed for selection in the filter dialogue or amper autoprompt drop-down list.

lookup_synonym

Is the name of the synonym that describes the lookup data.


iWay Software