Add a Data Set
A data set fetches data from the Trimble Unity database tables to display data in a report. The DataSet panel is where you provide a command type and query string and choose other options for your data set. Common Values can also be used and are generic report fields that can be added to a report.
- Open the Report Designer.
- Click the Data tab.
- Click Add in the Data Sets section.
- Double-click the DefaultDataSet.
It appears under the Data Sets section.
- Click Edit Data Set.
- Edit the Name of the data set. Data set names cannot have spaces, but underscores or camel case could be used.
- Select Command Type. The default is Text.
- Enter a query to gather the desired fields from the desired database tables.
TIP: To add an entire table to a report, enter the following in the Query field: Select * from table.
These are the fields that are used to create reports.
If a custom data source was added to pull in GIS thumbnails or attachments, enter something similar in the Query field to connect to the files wanted:
- GIS Thumbnails: thumbnail:<filename>.png
- Attachments: attachment:<folder>/<filename>.png
- Click Validate.
- Click OK.
The fields appear in the Data Sets panel on the right side. Now these fields can be dragged and dropped in to a report.
If a data source hasn't been added, a connection to the Trimble Unity database is automatically added in the Data Sources section.