Using Record Selection on Forms |
Adding record selection to your data entry forms can provide users with much more control over which database records are printed with each print request for the document. There are two data entry controls that support record selection from lists of database records. They 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 defined in the Database Setup dialog, including any filtering specified on the Filter view. The display is the same as the Select Records dialog, accessed from the Print dialog.
|
Either of the record picker controls can be used on a form that includes a data entry control linked to a query prompt. In this case, the record picker control is populated with a filtered record set, with the filter criteria specified at print-time by the user's response to the query prompt. For more information about combining record picker controls and query prompts on data entry forms, refer to Form Sequence. |
The differences between the two controls include the following:
The Record Picker control can be configured to allow users the ability to select any number of records to print; the Dropdown Record Picker control allows the selection of only one record.
The Record Picker control can be configured to allow users to specify the print quantity for each selected record; the Dropdown Record Picker control has no print-time user option to control the print quantity.
With regard to print-time features on the control, the Record Picker control supports several more configuration options than the Dropdown Record Picker control.
Adding either of the record picker controls to the form is as simple as adding any other control.
To add a Record Picker or Dropdown Record Picker Control to the Form
Both the Record Picker control and the Dropdown Record Picker control allow for many customizations to the print-time display of the control using the options on their respective property pages, Record Picker property page and Dropdown Record Picker property page. Using these property pages you can specify whether or not the control will support many of the same features available with the Select Records dialog, such as:
Searching
Filtering
Column adjustments including visible headers, column order, and width sizing
Record sorting
Record grouping
Record selection method (Record Picker control only)
Print quantity (Record Picker control only)
Record navigator
Record selection input box (Record Picker control only)
|
Options that have been disabled on the property page will also be disabled in the control's print-time context menu. |
Related Topics