Local Use Question

Contents Show

The Local Use Question screen is used to add a new local use question 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 Question screen

Edit Local Use Question screen

Screen Access

Screen Access

To add a new question:

To edit an existing question:

  • Display the Local Use Questions screen > Select a question 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 Question".

  • The WIC Category drop-down list box is visible and enabled. The drop-down list box defaults to blank if the root node was selected in the Local Use Questions and Answers tree list on the Local Use Questions screen. Otherwise, it defaults to the selected WIC category, the WIC category of the selected question, or the WIC category of the question to which the selected answer belongs, depending on the type of node selected in the Local Use Questions and Answers tree list on the Local Use Questions screen.

  • The Question ID text and value label is visible, disabled, and blank.

  • The Question text box is visible, enabled, and blank.

  • The Require an Answer drop-down list box is visible, enabled, and blank.

  • The Screen Position radio button group is visible and enabled. The Not In Use radio button is initially selected as the default.

  • The Clear/Reset Collected Answers button is not visible.

In Edit mode:

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

  • The WIC Category drop-down list box is enabled and displays the previously-saved value.

  • The Question ID text and value label is visible, disabled, and displays the previously-saved value.

  • The Question text box is visible, enabled, and displays the previously saved value.

  • The Require an Answer drop-down list box is visible, enabled, and displays the previously-saved value.

  • The Screen Position radio button group is visible, enabled, and the radio button selection previously-saved is initially selected as the default.

  • The Clear/Reset Collected Answers button is visible and enabled.

Screen Elements

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

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

WIC Category drop-down list box

  Select the WIC category in the WIC Category drop-down list box.

The drop-down list box is filled with all WIC categories that currently exist in the DESCRIPTION column of the WICSTATUS table. The options in the drop-down list box are sorted alphabetically in ascending order.

The WIC Category drop-down list box defaults to blank if the root node was selected in the Local Use Questions and Answers tree list on the Local Use Questions screen. Otherwise, it defaults to the selected WIC category, the WIC category of the selected question, or the WIC category of the question to which the selected answer belongs, depending on the type of node selected in the Local Use Questions and Answers tree list on the Local Use Questions screen.

Question ID text and value label

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

If the screen is displayed in Add mode, the value label is initially blank. The system automatically assigns the Question 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.

Question text box

  Enter the description of the question in the Question 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 a description that already exists for a question in the database. If it does, the system displays a standard error message (E0060).

Require an Answer drop-down list box

  Select the if and when an answer for the question is required in the Require an Answer drop-down list box.

Screen Position radio button group

  Select an option in the Screen Position radio button group.

Select the screen position of the local use question (or whether it is not in use) in this radio button group. The title text of the radio button group is set to "Screen Position".

The Not In Use radio button is initially selected as the default in Add mode. In Edit mode, the previously-saved value is selected. A radio button associated with a screen position is disabled when the position is already assigned to another local use question.

The following controls are included in this radio button group:

Not In Use radio button

Select this radio button to indicate the question is not in use.

1st radio button

Select this radio button to indicate the question is first to display.

2nd radio button

Select this radio button to indicate the question is second to display.

3rd radio button

Select this radio button to indicate the question is third to display.

4th radio button

Select this radio button to indicate the question is fourth to display.

5th radio button

Select this radio button to indicate the question is fifth to display.

6th radio button

Select this radio button to indicate the question is sixth to display.

Last Cleared/Reset text and value label

  View the the date and time on which the Clear/Reset Collected Answers button was last clicked in the Last Cleared/Reset text and value label.

The value label displays in MM/DD/CCYY HH:MM:SS format.

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

Clear/Reset Collected Answers button

  Click the Clear/Reset Collected Answers button to set the LocalUseCaption.DateReset value for the question to the current system date and to update the value of the Last Cleared/Reset value label.

The control is visible and enabled when:

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

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 screen was in Add mode, a Question node will be added to the Local Use Questions and Answers tree list with the values on the screen. If the was in Edit mode, the selected Question node will be 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

WIC Category

drop-down list box

LocalUseCaption. WICStatus

·

Question ID

text and value label

LocalUseCaption. CaptionID

·

~Question

text box

LocalUseCaption. Description

·

~Require an Answer

drop-down list box

LocalUseCaption. Required

·

~Screen Position

radio button group

LocalUseCaption. OrdinalPosition

·

Last Cleared/Reset

text and value label

LocalUseCaption. DateReset

·

~ 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