Making settings for a DataSearch component

To use a DataView component to display a saved DataSearch, you must first select the DataSearch option in the Mode field of the Specify DataView Settings dialog box.

Optionally, to instruct the system to load the data only after the DataView component becomes visible, select the Load Just in Time option. This option is used to delay the loading of the DataView data when the DataView component is not initially visible (for instance, not on the first tab of a form).

Then, on the General tab:

  1. In the DataSearch group box, specify this information:
    1. In the Search Expression field, specify the expression to be used as the search criteria.
    2. From the Value Filter drop-down list, select the filter to be used on the search expression.  
    3. In the Search Source field, specify the name of the DataSearch Source to use for the query.
  2. Optionally, in the Form Events to Generate group box, specify this information:
    Note:  These drop-down lists are automatically populated with the names of any custom form events that exist in your application. You can still, however, use any of the standard form events by typing the event name in the appropriate field.
    • To specify the event to generate when a record is selected in the DataView display, use the Row Selected field.
    • To specify the event to generate when the data is refreshed, use the Refresh field.
    • To specify the event to generate when the Get More Rows option is clicked, use the Get More Rows field.
  3. Click OK.