Prompt for a Date

Description

The Prompt for a Date action will prompt the user for a date and store it in a character variable. Use the CTOD() function to convert the result into a date value.

Procedure

  1. Select one of the two styles:

    • "Standard dialog". Displays a text box to enter the number.

    • "Calendar style". Displays month and year list boxes and a calendar.

  2. Optionally, enter the title of the dialog box in the Dialog Title field. Optionally, click the 'xy' button to open the Expression Builder.

  3. If you selected "Standard dialog", optionally enter a prompt that will appear next to the input control in the Prompt field. Optionally, click the 'xy' button to open the Expression Builder.

  4. Enter the name of the variable that will receive the value that the user enters in the Variable Name field. Note that the variable will be of type Character, not Number.

  5. Optionally, enter a default value in the Default Value field. Optionally, click the 'xy' button to open the Expression Builder.

  6. Click the Test Dialog button to see how it will appear.

  7. Click Next >.

  8. Optionally modify the comment that describes the action.

  9. Click Finish.

See Also