Query Prompts Dialog |
The Query Prompts dialog lets you create and configure query prompts, which allow users to enter criteria at print-time that are used to query a database for records to be used with the print job. You can access the dialog by clicking Query Prompts on the Filter property page of the Database Setup dialog.
Query Prompt List
The Query Prompt List displays all query prompts that are currently defined for the database. To modify a query prompt in the list, select it, and then use the following icons located beneath the list.
|
Each of these commands can also be found in the a query prompt's context menu. |
Inserts a new query prompt into the list.
Deletes the selected query prompt.
Pastes a copy of the query prompt currently in the clipboard into the list.
Moves the selected query prompt up one position in the list.
Moves the selected query prompt down one position in the list.
Query Prompt Options
You can modify the properties for the query prompt currently selected in the Query Prompt List.
|
Specifying the query prompt options is necessary only if you do not plan to associate the query prompt with a data entry control on the data entry form. Otherwise, when you associate the query prompt with a data entry control, the options are set by using the control's property pages. |
Name: Defines the name of a query prompt.
Text Label: Defines the label that will be displayed next to the reply box at print time, prompting the user to enter a value.
Default Value: Defines the value that is initially displayed in the reply box at the beginning of a print job.
Data Entry Options
Enable autocomplete:
Update default value after print (affects all users): When this option is enabled, it updates the default value for the reply box after each print job with the most recent value used for the query prompt.
Read only: When this option is enabled, it marks the query prompt as read-only, so that the print operator is unable to enter a value in the reply box. With this option, the default value will be used for the query prompt.
More Options: Opens the More Query Prompt Options dialog, where you can configure data transforms to enforce data validation on the query criteria values entered by the user.
Focus Behavior
Enter key is pressed: When this option is enabled, it specifies that the cursor will move to the next reply box when the Enter key is pressed.
Arrow key moves cursor beyond start or end of data: When this option is enabled, it specifies that the cursor will move when arrow keys are used to move it.
Maximum number of characters is reached: When this option is enabled, it specifies that the cursor will move to the next reply box when the user enters the maximum number of characters into the current reply box.
Data is inserted by barcode scanner: When this option is enabled, it moves the cursor to the next reply box when data for the current reply box is inserted using a barcode scanner.
Exclude control from tab order: When this option is enabled, it skips the query prompt control when a user tabs between multiple reply boxes on the form.
Related Topics