Info |
---|
Built with v10. This example demonstrates how to create a report with various graphical components. Download the Solution Example |
: |
|
file: ReportWithDatasets.dbsln |
Database file: ReportWithDatasets.db |
Summary
This
solutionexample
showsdemonstrates how to
producecreate a report with
differentvarious graphical components,
likesuch as TrendCharts and
DatasetsDatasets.
Technical Information
This solution
showsexplains how to generate
Reportsreports and save them as documents.
TheseReports can
haveinclude multiple graphical components like tables, tags, grids, trends, etc. All
ofthese components
have the ability toautomatically update data when
a Reportthe 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
Reportreport, go to the Reports section and click
onthe green plus icon. After creating a report,
to edit a given report simply goyou can edit it by going to the Form
editorEditor subsection
,and
remember to selectselecting the desired report
infrom the top left corner.
When editing
Reportsreports, it's easy to insert
Tagstags, tables, and
differentother items
byusing the
“Tag”"Tag" tool in the top toolbar. To add TrendCharts to your
reports, firstly you need toreport, first create them in the draw environment
,and save them as a
Symbol, after that, simplysymbol. Then, use the
“Symbol”"Symbol" tool in the top toolbar to insert them.
After creating and editing your report, you can save
themit by using the SaveTrigger functionality,
where if a given tag value is changed, it’ll triggerwhich triggers the report to be saved
. Another option is towhen a specific tag value changes. Alternatively, you can use the command shown below in the expression textbox. This command can be
eitherintegrated
tointo a script, an alarm, or (as in this example)
beactivated by pressing a button.
The generated
Reportreport filename can be dynamically chosen by the user through text inputs in the display
, saving this information. This input is saved to text
Tagstags created in the Tags section.
Another option is toAlternatively, you can pre-configure the
FileName beforehandfilename 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:
In this section:
Page Tree | ||||
---|---|---|---|---|
|