Manage and reuse report form templates.
Reference → Modules → Reports → UI → Forms Editor | Forms | Monitor | WebData | WebData Editor
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.
| Property | Description | Required |
|---|---|---|
| Name | Unique form identifier | Yes |
| SaveFormat | Output format. Windows target: Text, HTML, Unicode, ASCII or PDF. Multiplatform target: Text, Unicode or ASCII. A Multiplatform report form that carries another format keeps it, with a warning, and saves it only when the runtime runs on Windows. | 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@ |The formats a report form offers depend on the solution's Target Platform. Windows target solutions save reports as Text, HTML, Unicode, ASCII or PDF. Multiplatform solutions, which also run on Linux, offer Text, Unicode and ASCII. A Multiplatform report form that already carries HTML, PDF or XPS keeps it: it saves when the runtime runs on Windows and fails on Linux or macOS (see Reports Module Reference, Output Formats by Target Platform).
Plain ASCII text:
Web-ready reports:
Professional documents:
C:\Reports\DailyReport.pdf
\\Server\Reports\Production.txtC:\Reports\[email protected]@.pdf
C:\Reports\@Tag.Shift@[email protected]@.txt@ExecutionPath@\Reports\Current.pdf
@SolutionPath@\Output\Report.txtxml
<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.ShiftChangecsharp
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: