CabMaster RDL Reporting Getting Started Guide

CabMaster RDL Reporting Getting Started Guide

Please note that editing and designing your own report is not part of support, if you would like a customized report then that can be arranged for if you contact your local Sales Representative.

Getting Started

Microsoft Report Builder.exe build 15.0.1473.0

CabMaster with an application version greater than v11.0.0.136

Microsoft Access

Microsoft Access SQL

Microsoft Report Builder / RDL / RDLC Reporting

Generating the report MDB (Microsoft Access Database)

1. Open CabMaster.
2. Place cabinets that are representative of the cabinets to be reported on.
3. Download the  Sample Report ( Sample Report ).
4. Place the sample report in the CabMaster Report directory.
5. Run the Sample Report (File -> Report -> Report).
6. Open the Report Directory.
7. Open the TempReportData Directory.
8. CabMaster will have created a TempReportData.mdb containing all of the reporting information.

Connecting a new report to the MDB

1. Open Microsoft Report Builder
2. Select New Report

3. Select Blank Report

4. Right click on data sources and select “Add Data Source…”

5. Select “Use a connection embedded in report”

6. Select OLEDB in the Connection Type dropdown

7. When writing and testing a report in Report Builder enter the following connection string (replacing <YOURPATH> with the path to the TempReportDataMDB)
      Source=<YOURPATH>\CabExportData.mdb;User Id=admin;Password=;

8. When releasing the report for use replace the connection string with:
       Source=.\TempReportData\CabExportData.mdb;User Id=admin;Password=;

9. Press the Test Connection button.

10. If the connection string’s path is correct you will see the following popup.

Setting up a DataSet

1. Right click the DataSets tab and select “Add DataSet…”

2.  Give it a name e.g.CabMasterData

3.  Select “Use a data set embedded in my report”

4.  Select your Data Source from the list

5.  Enter your SQL query in the text box and press refresh fields
Sample query:
            SELECT, Item.label, Component.Comment, Component.displayname,
            Component.dimname1, Component.dim1, Component.dim2, Component.dim3 FROM
            Component INNER JOIN Item ON =

6.  The corresponding fields will be generated in the Dataset and can be used to populate the report.

Getting a Property’s name (the CabMaster ‘Answer’)

1. Find the input box on the CabMaster page you want to use

2.  Hold the mouse over the text box

3. The Name of the Property (Answer) will appear ( in this example JobState )

Using a Property in a Report

1. Right click on the Parameters Tab and select “Add Parameter…”

2.  Enter the Property Name in the Name field:

3.  Enter the Property Name in the Prompt field:

4.  Select Allow Blank

5.  Go to Default Values

6. Select Specific Values

7.  Click Add

8.  Enter the Default value

Using CabMaster Images in a report

1. Report add a parameter called AMSImages to the report

2. Set the parameter to Allow Blanks and Nulls

3. Set the parameter's visibility to Internal

4. Add a specific Default Value for the image you require (in this example Ortho=600 specifies ortho images at 600x600 px)

5. Add a Second Parameter called  ReportPath

6. Set the parameter to Allow Blanks and Nulls

7. Set the parameter's visibility to Internal

8. Add an Image to the report.  Refer to images using the following:

             ="file:"&Parameters!ReportPath.Value&"\TempReportData\ OrthoImages\"&cstr(CabinetID)&". png"

Replace CabinetID with the field that corresponds to the cabinet's id .
See Image types for more information.

In the following references replace CabinetID with your DataSet field for the cabinet's id.


How to reference:

AMSImage value:



How to reference:

AMSImage value:



How to reference:

AMSImage value:



How to reference:

AMSImage value:



How to reference:

AMSImage value:



How to reference:

AMSImage value:



How to reference:

AMSImage value:



How to reference:

AMSImage value:
             T exture=600



How to reference:

Replace IDFull with your DataSet field for the Component.IdFull

AMSImage value:


Returns the path to the report directory. Used for placing images in reports.


Optionally restricts/extends the data sent to the MDB. By default, CabMaster looks at the SQL statement in the report and generates all tables/fields that are referenced in the SQL. But you may want to provide additional tables/fields in the MDB data, particularly during report development so you can select from more fields.
NOTE: AMSFilters includes wildcards (e.g *.*).


Tells CabMaster what images and what resolution to output them as.

For available options see Image Types.


Glossary & Notes

            Where the data is sourced from.

            A collection of fields the report will use for data. Defined by a SQL Query.

Allow access to CabMaster drawing properties and configure the report engine for specific tasks.

Reporting information should come from tables and CabMaster Drawing properties.

CabMaster will only export the information requested by the report unless otherwise specified with the AMSFilter parameter.

Make sure fields are correct before editing a report, as they will not update automatically if they change whilst designing the report.
TIP: Click the attachment to download this HowTo to your desktop as a .pdf