The following describes how to create AutoSearch parameters using DADE:
- Access the Data workspace of the Report Designer.
- Create a DataView using the Query Wizard or Query Designer.
- A DataView tool window will be displayed in the data workspace.
- Press the Search button. The Search tab of the Query Designer will be displayed.
- Add a search criteria item and select the AutoSearch checkbox. You can optionally select Mandatory as desired.
- Close the query designer.
- Now when you select the Preview tab of the Report Designer. A search button will appear on the toolbar. This displays the AutoSearch dialog.
- By calling Report.Print in code, or by selecting print/preview from the report explorer the AutoSearch dialog will be automatically be displayed.