List from the Data Source

DataBand allows building a list based on the data from the source. Data source is set in DataSource property. Note: the number of output lines depends on the amount of lines in the data source, ignoring InstanceCount property.

In order to get access to the current element that has to be output, either GetData(“<Data source name>.<Field name>”) or <DataBand name>[“<Field name>”] script is used.

Textual information can be output by dragging the corresponding field from the document tree on the Data Sources tab into Detail (located in DataBand).

Example of a list that outputs employees’ names:

dataBand.DataSource = Employees;

textBox.Value = dataBand["EmployeeName"];

 Report Template   Report  

Add Feedback