Part 2: Expense Report Template in Detail
The expense report template, created in the TX Text Control Words designer, uses merge fields, repeating blocks, and table formatting to produce structured reports. Interactive screenshots highlight how each template element maps to the business object data source after merging.

In the last blog entry "Reporting: Expense Report with Business Objects", we looked at business objects as data sources, advantages of separating logic from the template formatting and how values are calculated in business objects directly. You have learned that the merge process with a nice and clean data structure is executed with only 1 line of code using Text Control Reporting.
In this article, the reporting template itself, created in the template designer TX Text Control Words, is illustrated in detail.
The following screenshot shows the template view and the results - simply hover over the screenshot to see the merged report:
The following interactive screenshot shows various reporting features in detail. Simply hover over the pulsating hotspots:
![]() |
![]() |
|
![]() |
![]() |
![]() |
![]() |
![]() |
|
Reporting
The Text Control Reporting Framework combines powerful reporting features with an easy-to-use, MS Word compatible word processor. Users can create documents and templates using ordinary Microsoft Word skills. The Reporting Framework is included in all .NET based TX Text Control products including ASP.NET, Windows Forms and WPF.
Related Posts
Creating Your First ASP.NET Reporting Application
The MailMerge and ServerTextControl components of TX Text Control .NET Server for ASP.NET enable server-side reporting in Web Forms. A template.docx merges with XML data via a button click…
New Online Sample: Build your First Report
A new interactive online demo walks through building a report with TX Text Control in three steps: preparing JSON data in a live editor, creating a template with merge fields and repeating blocks,…
ReportingDocumentationReportingCloud
Create your First Document with ReportingCloud
ReportingCloud documentation now includes interactive tutorials for creating documents without code. Users enter an API key, choose a format such as PDF or DOCX, customize the merge data payload,…
MailMerge: Starting Each Merge Block on a New Page
Merge blocks in TX Text Control repeat based on matching data rows. Applying ParagraphFormat.PageBreakBefore to the first paragraph of a block forces each repetition onto a new page. Section…
Using MailMerge with JSON Data
Merge document templates with JSON data using TX Text Control MailMerge by converting nested JSON strings into DataSet objects via Newtonsoft.Json. The JSON is first transformed to XML, then…








