How to Insert a User-Defined Data Source

Previous Next

You can insert a user-defined related or lookup data source in a related page, lookup page, or in an info page.

When inserted in a related or lookup page, this page can be called from, or embedded in another page, usually an info page. When inserted in an info page, data from the related or lookup data source can be displayed directly in the same info page.

To insert a user-defined related data source:

1.First, define the related data source or the lookup data source.
2.From the catalog, open the page in which you want to insert the data source.
3.From the Controls tab of the catalog, drag the related or lookup data source to the main (Page) object in the object tree.
4.In the ResultColumnGroup, insert a new group object with the appropriate controls to display each field of the related or lookup data source.

In single-record layout, you need one column control for each field, for example a TextColumnControl.

In multi-record layout, you need a GridControl object and grid cell controls.

5.For these column controls or Grid control, set the Data Source Name property to the name of the added data source.
6.For these column controls or GridCell controls, set the Data Source Item property to the name of the column to be displayed.
7.Save your changes.

 

See Also

Data Sources