Datasets

The Datasets pane shows the tables and fields you have defined for the form. The tables can be shown as a list or a hierarchy. You can hide or show the pane using a toggle button on the ribbon.

Fields or tables in the Datasets pane can be dragged and dropped directly onto the Design Sheet:

Add

Gives the option to configure a new dataset or add an existing dataset (one that is already configured).

Add New

To add a new dataset, see: Configure and Add a Dataset

Add Existing

The datasets listed in the Select Items dialog are configured on the Datasets node of the Configuration Manager; however only those datasets which contain the column data types required by the control are listed.

You can enter Search keywords to restrict the list of datasets to those that match or partially match the search string you have entered.

You can use the mouse with the SHIFT or CTRL key to select multiple datasets. Double-clicking on a dataset, or the last dataset selected, will also close the dialog.

To add an existing dataset, see: Add an Existing Dataset

Remove

Removes the dataset from this form – it does NOT delete the dataset from the list of shared datasets.

Edit

Edit the properties of a shared dataset. Note: The edits you make will affect ALL forms using this dataset. If changes are needed only for the current form, make a copy of the dataset and edit the copied dataset.

To edit a dataset, see: Property Editor: Datasets

Runtime Properties

Runtime properties determine how the dataset is displayed when the form is opened. See: Dataset Runtime Properties

List View and Tree view

When you view the datasets you have added to the pane, you can either show them in a flat list view, or a tree view that shows the hierarchical relationship between parent and child tables:

Note: In the case of the three-level hierarchy; Grandparent — Parent — Child; if the parent dataset of the child dataset is not added in the list, since there is no evident link between the grandchild and the grandparent, in Tree view, the grandparent and grandchild datasets are both shown at the root level, and the data within the child dataset is not filtered. For example, if we have this three-level hierarchy:

Projects
--> Sites
----> Lithology

If only Projects and Lithology are added in the Datasets pane, this is shown as:

Projects
Lithology