Previous Topic: Map Read/write OptionsNext Topic: Field-level Help Text Definition


Additional Edit Criteria

Description

This is one of seven screens used to enter information for a specific field. This screen is used to enter the edit table, code table, and error message information for a field.

Sample Screen

Additional Edit Criteria Page 3 of 7 Map name: EYHTST1 Version: 1 Element name EMP-STATE-0415 Subscript In record EMPLOYEE Version 100 Edit table name . . . STATE1 Version 1 Link with map (/) _ Edit type . . . . . 1 1.Valid values 2.Invalid values Code table name . . . ________ Version ____ Link with map (/) _ Error message (specify ID or text) ID. . . . . . . . . Prefix __ Number ______ Text. . . . . . . . NOT A VALID STATE CODE ________________________________________ DC365801 Map options processed successfully F1=Help F3=Exit F4=Prev F5=Next F6=Preview F7=Bkwd F8=Fwd

Field Definitions

Edit table name

Enables automatic editing and specifies the name of an existing stand-alone table to be used as the edit table.

If editing is enabled elsewhere for the field and no edit table is supplied, the default edit table is the built-in table (if any) defined in the associated record element. If a table name is not supplied here or in the record element, no edit table is used.

  • Version—Specifies the version of the edit table, default is 1.
  • Link with map—Specifies whether the edit table is linked as part of the map load module or is loaded dynamically at runtime:
  • /—Specifies that the table is linked to the map load module that uses it. This is useful for tables that contain items that cannot be used readily by another record element.
  • Blank (default)—Specifies that the table is loaded dynamically. This specification is useful when the contents of a table change frequently.

    Note: Edit tables can only be associated with a group element if the group is made up of DISPLAY elements.

For more information about the use of edit tables, see "Edit and Code Tables".

Edit type

Indicates whether the table is one of valid or invalid tables:

Blank (default)—Specifies the edit type defaults to the TYPE parameter for the table in the IDD. Tables are defined as valid or invalid depending on the IDD 'TABLE... TYPE IS EDIT VALID' or 'TABLE... TYPE IS EDIT INVALID'.

  • Valid values—Specifies the table contains valid values for the field. An error occurs when the operator inputs a value that is not contained in the table.
  • Invalid values—Specifies the table contains invalid or incorrect values. An error occurs when the operator inputs a value that is contained in the table.

Code table name

Enables automatic editing and specifies the name of an existing stand-alone table to be used as the code table for the field being edited.

If editing is enabled elsewhere for the field but the a code table name is not provided, code table is the table (if any) defined in the record element associated with the field. If a code table name is not provided and does not exist in the record element, no code table is used.

Version—Specifies the version of the code table, default is 1.

Link with map—Specifies whether the code table is linked as part of the map load module or is loaded dynamically at runtime:

  • /—Specifies that the table is linked to the map load module that uses it. This is useful for tables that contain items that cannot be used readily by another record element.
  • Blank (default)—Specifies that the table is loaded dynamically. This specification is useful when the contents of a table change frequently.

Note: Code tables can only be associated with a group element if the group is made up of DISPLAY elements.

For more information about the use of code tables, see the chapter "Edit and Code Tables."

Error message

Used to specify the number of an existing message or the developer-written text of the error message that is displayed for the field.

The default is the message prefix specified on the General Options screen. If no prefix is specified, DC is used.