Reports Forms (Reference) define text-based and PDF report templates with dynamic data integration from tags and queries. ReportForm enable:
Forms are created using the integrated Reports Forms Editor with real-time preview.
Table of Contents maxLevel 2 minLevel 2 indent 10px exclude Steps style none
Property | Description | Required |
---|---|---|
Name | Unique form identifier | Yes |
SaveFormat | Output format (Text/HTML/Unicode/ASCII/PDF) | Yes |
SaveFileName | Full path for saved reports | Yes |
SaveTrigger | Tag/property to trigger save | No |
Padding | Text alignment (Compact/PadRight/PadLeft) | No |
Append | File to append content to | No |
Header | Header template reference | No |
Footer | Footer template reference | No |
Length | Document size configuration | No |
EditSecurity | User group permissions | No |
Description | Documentation text | No |
Insert tag values:
Production Report
Date: @Info.Date@
Shift: @Tag.Shift_Number@
Total Units: @Tag.Production_Count@
Quality Score: @Tag.Quality_Score@%
| Product | Quantity | Status |
|---------|----------|--------|
| @Tag.Product1@ | @Tag.Qty1@ | @Tag.Status1@ |
| @Tag.Product2@ | @Tag.Qty2@ | @Tag.Status2@ |
Plain ASCII text:
Web-ready reports:
Professional documents:
C:\Reports\DailyReport.pdf
\\Server\Reports\Production.txt
C:\Reports\Report_@Tag.Date@.pdf
C:\Reports\@Tag.Shift@_@Tag.Line@.txt
@ExecutionPath@\Reports\Current.pdf
@SolutionPath@\Output\Report.txt
xml
<ReportViewer ReportName="ProductionReport" />
<PdfViewer Source="@Report.Form.DailyReport.FileName" />
csharp
// Generate report on button click
@Report.Form.ProductionReport.Generate();
Using SaveTrigger property:
csharp
// Trigger at shift change
@Tag.ShiftChange = 1; // Triggers if SaveTrigger = Tag.ShiftChange
csharp
public void GenerateDailyReport()
{
// Set report data
@Tag.ReportDate = DateTime.Today;
@Tag.TotalProduction = CalculateTotal();
// Generate and save
@Report.Form.DailyReport.Generate();
@Report.Form.DailyReport.Save();
}
Create standard header:
========================================
ACME Corporation
Production Report
@Info.Date@ @Info.Time@
========================================
Standard footer:
----------------------------------------
Page @Page.Number@ of @Page.Total@
Generated by: @Client.UserName@
========================================
Option | Effect | Use Case |
---|---|---|
Compact | No extra spacing | Data files |
PadRight | Right-align with spaces | Fixed-width reports |
PadLeft | Left-align with spaces | Numeric columns |
Control who can modify reports:
Ensure write access to:
Report not generating:
Missing data:
Format issues:
File access errors:
You create the text, formatting, and values by using the integrated ReportForms Editor. To create or edit a report:
Go toReports / Forms.You can edit the contents of the ReportForm in the Reports Forms Editor.
To visualize the reports created from a ReportForm at runtime is straightforward.
When using Windows WPF clients, you can use the following visualization controls.
When using Web HTML5, or portable displays, you can use the following visualization control:
Property
Description
ID
Identifies the unique identifier assigned.
VersionID
Specifies the version number.
Name
Indicates the name assigned for identification.
Padding
Determines space around content: 'Compact' for no extra characters, 'PadRight' for extra space to the right, 'PadLeft' for extra space to the left.
SaveFormat
Sets the file format for saving the document: 'Text', 'HTML', 'Unicode', 'ASCII' or 'PDF'.
SaveFileName
Specifies the full path and filename for saving the document.
SaveTrigger
Sets an object property to trigger the save action.
Append
Specifies the file to which the document will be appended.
Header
Selects another document to serve as the header.
Footer
Selects another document to serve as the footer.
Length
Configures the size of the document.
EditSecurity
Checks which user groups have edit permissions for the document.
Legacy
Indicates if the document is a legacy version (read-only).
Level
Determines the access level required for interaction.
Category
Organizes the document into a management category.
LockState
Shows the current lock status of the document for editing or changes.
LockOwner
Identifies the user who has locked the document for exclusive editing.
DateCreated
Records the date and time of the document's creation.
DateModified
Records the date and time the document was last modified.
Description
Page Tree | ||||
---|---|---|---|---|
|