Local Use Answer

Contents Show

The Local Use Answer screen is used to add a new local use answer or to update an answer selected in the Local Use Questions and Answers tree list on the Local Use Questions screen.

The screen can be displayed in Add mode or Edit mode.

Add Local Use Answer screen

Edit Local Use Answer screen

Screen Access

Screen Access

To add a new answer:

  • Display the Local Use Questions screen > Select a question in the Local Use Questions and Answers tree list > Click the Add Answer button.

To edit an existing answer:

  • Display the Local Use Questions screen > Select an answer in the Local Use Questions and Answers tree list > Click the Edit button.

Interface Initialization

Upon initial display of the screen, the following occurs:

  • The OK button is visible and enabled as the default.

  • The Cancel button is visible and enabled as the default.

In Add mode:

  • The title bar text is set to "Add Local Use Answer".

  • The Description text box enabled and blank.

  • The Active check box enabled and unchecked.

  • The Sort Value drop-down list box is visible, enabled, and blank.

In Edit mode:

  • The title bar text is set to "Edit Local Use Answer".

  • The Description text box enabled and displays the previously saved value.

  • The Active check box enabled and displays the previously saved value.

  • The Sort Value drop-down list box is visible, enabled, and displays the previously saved value.

Screen Elements

Unless otherwise stated below, all controls on the Local Use Answer screen are visible and enabled when:

If one or more special conditions exist that affect a control on the Local Use Answer screen, the condition(s) are documented for that specific control below.

Question text and value label

  View the the description of the question in the Question text and value label.

Information in this control is read-only and cannot be changed. The value label displays in the inverse color of the screen.

Answer ID text and value label

  View the ID of the question in the Answer ID text and value label.

If the screen is displayed in Add mode, the value label is initially blank. The system automatically assigns the Answer ID when the OK button is clicked. If the screen is displayed in Edit mode, the control is initially populated with the value stored in the database.

Information in this control is read-only and cannot be changed. The value label displays in the inverse color of the screen.

Answer text box

  Enter the description of the answer in the Answer text box.

The text box allows the entry of alphabetic, numeric, and special characters. The maximum number of characters that can be entered in the text box is fifty (50) characters.

The description entered must not match an answer that already exists in the database for the current question. If it does, the system displays a standard error message (E0060).

Active check box

  Select the Active check box to indicate the record is activated or deactivated.

An active item is available to the application. An inactive item can be obsolete or omitted or can be a new item pending activation.

Sort Value drop-down list box

  Select the preferred sort order for the item in the Sort Value drop-down list box.

The control is enabled when:

OK button

  Click the OK button to process the screen.

It is the default button for the screen, unless otherwise noted.

It does not have a mnemonic. Its keyboard shortcut is the Enter key.

The Local Use Questions screen displays when the button is clicked.

If the Local Use Answer screen is displayed in Add mode, an Answer node is added to the Question node in the Local Use Questions and Answers tree list with the values on the screen. If the Local Use Answer screen is displayed in Edit mode, the Answer node is updated on the Local Use Questions and Answers tree list with the values on the screen.

Cancel button

Click the Cancel button to close the screen without processing or saving data.

It does not have a mnemonic. Its keyboard shortcut is the Esc (escape) key.

The Local Use Questions screen displays when the button is clicked.

Processing

If data can be validated and saved on the screen, the following processes occur when the screen is processed:

If no data can be validated and saved on the screen:

Data Map

The Data Map defines the values saved for all controls on the screen. If available, any additional notes or comments are displayed in the Notes column.

Control Label

Control Type

Table. Column

Notes

Question

text and value label

LocalUseCaption. Description

·

Answer ID

text and value label

LocalUseCode. CodeID

·

~Answer

text and value label

LocalUseCode. Description

·

Active

text and value label

LocalUseCode. Active

·

Sort Value

drop-down list box

LocalUseCode. SortValue

·

~ Denotes a required control (if applicable). The process that checks for required controls does not occur on screens displayed in read-only or Details mode.

+ Denotes data written to the database when screen processing occurs (if applicable). The process that writes data to the database does not occur on screens displayed in read-only or Details mode.

|

System Administration