Report Builder

[TOC]

What is the Report Builder?

The report builder is a tool in DGS used to create new reports or edit and modify existing reports. It is located in the tree of all sites.

The User needs to have Report_View_Builder Permissions to access the Report Builder.

Report Builder Selector

If it does not show up then the required permissions have not been set.

Report Builder Body

When creating a new report, the body of the report will look like this:

Report Builder Body

Report Builder ToolBar

The Report Builder Toolbar has a variety of tools to use. It is found under the [tabs]( ) section when a builder is open.

Report Builder ToolBar

Icon Name Description
Test Test Using this button allows testing of what has been made in the Report Builder. Once pressed, it is replaced with a close button which cancels testing and returns to the builder.
Save Save Use of this button saves all changes made to the report.
Export Export Using this button Exports the report into a .vwr file.
Import Import Using this button imports, a .vwr file into the builder.
Snap To Grid Snap to Grid Using this button allows each field to snap to the Grid on the builder section. When it is highlighted blue it is turned on.
Show Grid Show Grid Using this button shows or hides the grid. When the button is highlighted blue the grid will show.
Switch To Full Selection Mode Switch to Full selection mode Using this button allows to switch between intersection selection mode and full selection mode. Switches icons from one to another.
Page Zoom Page zoom Using this button allows to zoom into the report builder page. -------Zooms into the final details
Search Search Report Use of this button allows for a search to the entire report (Query, Data fields, Labels) for specific lines/words.
SQL Editor SQL Editor Using this button allows us to go in the query window to modify query for the report.
Cut Cut Use of this button cuts the current selected field and copies it to the local file.
Copy Copy Use of this button copies the current selected field to the clipboard.
Paste Paste Use of this button pastes what is currently copied to the clipboard.
Undo Undo Use of this button reverses the last change made. Can be used multiple times.
Redo Redo This button steps forward after going back too far with undo.
Apply Style To Selected Apply style to Selected This button applies all of the same styles of one field to another field.
Align Left Align Left Use of this button aligns all fields left sides.
Align Center Align Center (Horizontal) Use of this button aligns all fields centers Horizontally.
Align Right Align Right Use of this button aligns all fields rights.
Align Top Align Top Use of this button aligns the tops of all boxes selected.
Align Middle Align Middle (Vertical) Use of this button aligns all boxes centers vertically
Align Bottom Align Bottom Use of this button aligns the bottoms of all boxes selected.
Make Same Width Same width Makes all selected boxes the same width.
Make Same Height Same height Makes all selected boxes the same height.
Make Same Size Same size Makes all selected boxes the same size.
Make Horizontal Spacing Equal Equal horizontal spacing Makes all selected boxes the same distance apart horizontally.
Increase Horizontal Spacing Increase horizontal spacing Makes all selected boxes distance increase between them horizontally.
Decrease Horizontal Spacing Decrease horizontal spacing Makes all selected boxes distance decrease between them horizontally.
Make Vertical Spacing Equal Equal vertical spacing Makes all selected boxes the same distance apart vertically.
Increase Verical Spacing Increase Vertical Spacing Makes all selected boxes distance increase between them vertically.
Decrease Vertical Spacing Decrease vertical spacing Makes all selected boxes distance decrease between them vertically.
Group Selected Group Selected Group's selected fields together.
Ungroup Ungroup Ungroups the selected groups.
Bring To Front Bring to Front Brings the selected field to the front layer of the report.
Send To Back Send to Back Send the selected field to the back layer of the report.

Report Builder Tools Tab/Data Tags

The report builder has Two tabs, labelled as Tools and Data Tags.

Data Tag

Tools Tab

The tools tab has all the tools necessary to build the front end of the report. Links to each tool and their use is below.

Icon Name Description
Pointer Pointer Used to point the cursor.
Label Label Used to create Labels.
Shape Shape Used to create shapes.
Line Line Used to create a line.
Image Image Used to import images from the local system.
SubReport Sub Report Used to create sub-report in the report.
Chart Chart Used to create charts.
Gant Chart Gantt Chart Used to create Gantt Charts.
Gauge Basic Gauge Used to create Gauge.
Gauge Star Gauge Used to create Gauge.
Gauge Gauge V2 Used to create Gauge
BarCode Bar Code Used to create Bar Codes for the data.

Data Tags Tab

The data tags tab allows for easy access to items selected out in the query. Clicking and dragging one of the fields to the report will put the field on the builder. If the “Add Label” button is pressed, it will add a label with each data tag.

Create Data Tab

Data Source / SQL Editor of the Report Builder

The data source / SQL Editor of the report builder is the query creator/editor. It can be opened by pressing the … button when the property is clicked on. To write a custom query, the “user-defined query” box must be turned on. All data to be displayed will have to be selected out in the data source. The language used is SQL.

After opening up the report builder and making it a user defined query, there will be three important sections to note. The first, being the query editor. This is where the query is written to select the data out of the tables. When the query is built, hitting the update button will display the results.

An important feature in the data source is use of parameters. Parameters are mainly useful for dropdown menus. To reference one, just use the number above in braces (Ex. {2}).

Parameters

Saving Changes :

When making changes or creating, make sure to hit the save button in the top left of the data source. If the changes were not as expected, cancel will undo all changes made since the last save.