Define Layout

<< Click to Display Table of Contents >>

Navigation:  PlantReporter > How to use > PlantReporter > Create Report Configuration >

Define Layout

Previous pageReturn to chapter overviewNext page

The next part is the layout. Which brings the data from the query into the look & feel you want.

PlantReporter is using the reporting tool from DevExpress. You can find more details under this Link.

We will concentrate on the basics in this chapter. There will be more chapters explaining other factors and features of layouting your data.

PR Create RCF 020

When you start with a new blank report, a blank layout opens and the "Report Wizard" starts automatically.

Remark: The Report Wizard only helps you to setup the layout faster. However, you can also click on "Cancel" and start from scratch. Even when using the "Report Wizard" you can change the result the wizard creates.

PR Create RCF 021

Under Available fields you have all the properties you saw in your query. Again, the properties show with their class name in-front.

PR Create RCF 022

So, Size or Spec are properties defined under the Inline Assets class. Tag is under the Hand Valves class.

PR Create RCF 023

And we see the drawing properties.

PR Create RCF 024

Since we also have Piping Specialty Items and Inline Instruments classes in our query, we have those properties also listed.

PR Create RCF 025

And again the project properties.

PR Create RCF 026

You can either double-click on a property or use the right arrow icon to select a property for the report.

PR Create RCF 027

Lets select the following properties.

PR Create RCF 028

After clicking on Next > we can group the selected properties. This allows you to group records which have something in common. This is often used when a sum is needed. We will see this in other use cases.

We click Next >.

PR Create RCF 029

Next you can choose the general layout and orientation.

PR Create RCF 030

We select Tabular and Landscape.

PR Create RCF 031

Next you can select a style you want to use.

PR Create RCF 032

Lets use Casual.

PR Create RCF 033

Last in the settings is the title.

PR Create RCF 034

Type in the name you want to see on the report.

PR Create RCF 035

After you clicked on Finish, the layout looks like this:

PR Create RCF 036

If you want a preview you just click on the Preview tab. Now you see how the layout really looks.

PR Create RCF 037

To change the layout you click on Designer again.

PR Create RCF 038

The easiest way to edit the text is to make a double-click on the text.

PR Create RCF 039

Then you simply overwrite.

PR Create RCF 040

When we do this for all header texts it looks like this:

PR Create RCF 041

The preview looks like this.

PR Create RCF 042

After switching back to the Designer, we select the first cell in the table under Detail. We see a cock wheel icon at the right side of the band.

PR Create RCF 043

When we click on this cock wheel a menu flies out. We click on the ... icon at the Sort Fields line.

PR Create RCF 044

Another dialog shows up.

PR Create RCF 045

We click on Add.

PR Create RCF 046

Now we can select the property which we want the report ordered by.

PR Create RCF 047

You can also type in a value in the search field which makes it easier to find the correct property you want to select.

PR Create RCF 066

In our case we select the Tag from the Hand Valves class.

You can define multiple properties to sort the report's data if needed.

PR Create RCF 048

We actually don't see a difference to the preview. This is because the valves were numbered in increasing number when inserted, and this is the order they are also written into the database. However, in a real project those data is typically not written in order and Tags are ofter changed after being inserted. So ordering should always be part of the layout.

PR Create RCF 049

Now we close the layout.

PR Create RCF 050

Any change we made (also when editing), will automatically ask to save the changes.

PR Create RCF 051

Next Chapter: Define Output Type