Using Record Selection on Forms |
When you add record selection functionality to your data entry forms, you give users control over which database records are printed for each print job. The data entry controls that support record selection from lists of database records are the record picker control and the dropdown record picker control.
Both controls display a grid of columns and rows that list the database record set that is specified in the Database Setup dialog, including any filters that are specified in the Filter view. The display is the same as the Select Records dialog, which you can access from the Print dialog.
|
Either record picker control can be used on a form that includes a data entry control that is linked to a query prompt. In this case, the record picker control is populated with a filtered record set, and the filter criteria is specified at print time by the print operator's response to the query prompt. For more information about how to combine record picker controls and query prompts on data entry forms, refer to Form Sequence. |
The differences between the two controls are as follows:
The record picker control can be configured so that users can select any number of records to print. The dropdown record picker control allows only one record to be selected.
The record picker control can be configured so that users can specify the print quantity for each selected record. The dropdown record picker control has no option for the user to specify the print quantity at print time.
The record picker control supports several more print-time features than the dropdown record picker control does.
To add a record picker or dropdown record picker control to the form
For both the record picker control and the dropdown record picker control, you can customize the print-time display of the control by using the options on their respective property pages (the Record Picker property page and the Dropdown Record Picker property page). You can specify whether the control supports many of the same features that are available in the Select Records dialog, such as the following:
Search
Filters
Columns, including modification of headers, column order, and width sizing
Record sorting
Record grouping
Record selection method (Available only for the record picker control)
Print quantity (Available only for the record picker control)
Record navigator
Record selection input box (Available only for the record picker control)
|
Options that were turned off on the property page are also turned off in the control's print-time context menu. |
Related Topics