Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
iconfalse

Download the Solution Example

here

:
Solution file: ReportWithDatasets.dbsln
Database file: ReportWithDatasets.

dblsn

db


  • Solution Name:
ReportWithDatasets
  • Report With Datasets
  • Software Version:
  10.1
  • v10
  • Keywords: Reports. Datasets.

Summary

This

solution

example

shows

demonstrates how to

produce

create a report with

different

various graphical components,

like

such as TrendCharts and

Datasets 

Datasets.

Image Added


Technical Information

This solution

shows

explains how to generate

Reports

reports and save them as documents.

These

Reports can

have

include multiple graphical components like tables, tags, grids, trends, etc. All

of

these components

have the ability to

automatically update data when

a Report

the report is generated

. This provides users with the most up-to-date data in their Reports. This can even be done on client displays or for saving files in different formats, like

, ensuring users always receive the most current information. Reports can be displayed on client screens or saved in various formats, including XPS, HTML, Unicode, ASCII, and PDF.

 

To create a

Report

report, go to the Reports section and click

on

the green plus icon. After creating a report,

to edit a given report simply go

you can edit it by going to the Form

editor

Editor subsection

,

and

remember to select

selecting the desired report

in

from the top left corner.

When editing

Reports

reports, it's easy to insert

Tags

tags, tables, and

different

other items

by

using the

“Tag”

"Tag" tool in the top toolbar. To add TrendCharts to your

reports, firstly you need to

report, first create them in the draw environment

,

and save them as a

Symbol, after that, simply

symbol. Then, use the

“Symbol”

"Symbol" tool in the top toolbar to insert them.

After creating and editing your report, you can save

them

it by using the SaveTrigger functionality,

where if a given tag value is changed, it’ll trigger

which triggers the report to be saved

. Another option is to

when a specific tag value changes. Alternatively, you can use the command shown below in the expression textbox. This command can be

either

integrated

to

into a script, an alarm, or (as in this example)

be

activated by pressing a button.

Image Added

The generated

Report

report filename can be dynamically chosen by the user through text inputs in the display

, saving this information

. This input is saved to text

Tags

tags created in the Tags section.

Another option is to

Alternatively, you can pre-configure the

FileName beforehand

filename in the SaveFileName area. The same

is true for the Report’s FilePath.
Both cases configurations

applies to the report's file path. Both configuration methods are shown below:

Image Added


Reference Information

→ Learn more more about how to create Datasets and access Databases in Datasets.

→ See Reports for more information on building Reports.


In this section:

Page Tree
root@parentSolution Examples
spacesV10