Making settings for a Predefined DataView component

To use a DataView component to display a predefined DataView, you must first select the Predefined DataView 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, perform these actions:

  1. In the DataView group box, specify this information:
    1. Specify from the DataView drop-down list which predefined DataView to display.
    2. Optionally, if more than one layout exists for the DataView, specify from the Layout drop-down list which layout to use.
    3. Optionally, in the Filter field, specify a filter to use when querying the data.
    4. Optionally, to have the system prompt for input values (for input parameters) when the DataView is launched, select the Prompt for Inputs option.
      Note: This option is available for cases (often in DataViews being used for report generation) when the DataView has input parameters and no values were provided for any of the parameters. In this case, the DataView Inputs form is run to prompt for input parameters for the DataView before retrieving data and rendering it. This allows the data to be pre-filtered without needing to build a separate form to prompt for inputs and run the DataView.

      This also allows for a report criteria form to be created and used in conjunction with the DataView that allows the user to specify what data filtering should be use.

  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. Optionally, use the Input Parameters tab to make up to 50 specifications for input parameters by which to query the data source.
  4. Click OK.