Add the Data Source to the form

After you have defined a new form or report, from the Form Builder screen:

  1. Click on the Data Toolbox tab.
  2. In the Data Toolbox, click to select Data Source.
  3. Click anywhere inside the workspace to paste the Data Source.
    The Data Source icon is displayed where you clicked in the form. Although the Data Source control is not visible at run-time (when the form is rendered), place the icon in an area where the icon does not interfere with other controls on the current form.
  4. Change the data source Name to one that more appropriately describes the purpose of the data source.
    For example, if the data source is pointing to the EMPLOYEE table, then an appropriate name might be dsEmployeeTable.
  5. From the Source type drop-down list, select the TABLE.
  6. From the Property Inspector, click inside the Value box next to the Property: Source Parameter.
  7. Click the browse button.
    The Datasource Properties window is displayed.
  8. Specify EMPLOYEE in the Table Name field.
    In this example, the form receives data from the EMPLOYEE table.
  9. Click OK.