Code Fields Tab of the Code File Properties Dialog Box

This tab displays the code assignments for the selected code file (code on code).

Code assignments are initially defined in the New Code File wizard when you are creating a code file. You can use this pane to change code assignments for the selected code file.

Note: Assigning code files to a code file is optional.

Contents

Field Description
Number

This column displays the number of code files assigned to the selected code file.

Prompt

Use this field to assign the label that Cobra uses as a prompt for the code field or to change the existing label. This prompt appears as a column header on all the grids where it is used. You must enter a label in this field if you selected Code (optional), Code (required), or Text in the Code Field Type column.

Code Field Type

This field provides you with five options:

  • <none>: Select this option if you do not want to assign code files to the selected code file.
  • Code (optional): Select this option to choose a valid code assignment from the code file specified in the Code File column or to leave the code assignments blank. Codes assignments may be left blank. However, when assigning codes, Cobra will validate that the assigned codes exist in the code file.
  • Code (required): Select this option to require that a valid code assignment be selected from the code file specified in the Code File column. When assigning codes, Cobra will validate if the assigned codes exist in the code file. This option only allows you to assign valid codes from a code file and does not allow blank code assignments. Cobra does not validate existing assignments until individual records are selected. Previously blank or invalid assignments will not be updated automatically.
  • Text: Select this option to enter any text in the code field.
  • User Field: Select this option to choose a user for the code field from the list of users defined in the EPM Security Administrator.
Code File

Use this column to assign code files to the selected code file. Click to open the Code File Lookup dialog box, where you can select the code that you want to use. You can only select a code file in this field if you selected the Code (optional) or Code (required) option in the Code Field Type column.