# Flow Type Layout Reporting Series: Sample Database and Templates

> TX Text Control Words ships with ready-to-use sample templates and a database for invoice, quote, and mailing scenarios. The walkthrough covers loading an invoice template, connecting the sample multi-table data source, and previewing merged output in the designer without compiling.

- **Author:** Bjoern Meyer
- **Published:** 2013-04-07
- **Modified:** 2026-03-05
- **Description:** TX Text Control Words ships with ready-to-use sample templates and a database for invoice, quote, and mailing scenarios. The walkthrough covers loading an invoice template, connecting the sample multi-table data source, and previewing merged output in the designer without compiling.
- **3 min read** (495 words)
- **Tags:**
  - Tutorial
- **Web URL:** https://www.textcontrol.com/blog/2013/04/07/flow-type-layout-reporting-series-sample-database-and-templates/
- **LLMs URL:** https://www.textcontrol.com/blog/2013/04/07/flow-type-layout-reporting-series-sample-database-and-templates/llms.txt
- **LLMs-Full URL:** https://www.textcontrol.com/blog/2013/04/07/flow-type-layout-reporting-series-sample-database-and-templates/llms-full.txt

---

![Blog Series: Flow Type Layout Reporting](https://s1-www.textcontrol.com/assets/dist/blog/2013/04/07/a/assets/blog_series_reporting.webp "Blog Series: Flow Type Layout Reporting")In order to show the typical applications for TX Text Control's Reporting classes, we prepared sample templates and databases. There are templates to create invoices, quotes and simple mailings. Find below sample screenshots of these templates:

[![Sample templates and databases](https://s1-www.textcontrol.com/assets/dist/blog/2013/04/07/a/assets/template_1_zoom.webp "Sample templates and databases")](https://s1-www.textcontrol.com/assets/dist/blog/2013/04/07/a/assets/template_1_zoom.webp)

[![Sample templates and databases](https://s1-www.textcontrol.com/assets/dist/blog/2013/04/07/a/assets/template_2_zoom.webp "Sample templates and databases")](https://s1-www.textcontrol.com/assets/dist/blog/2013/04/07/a/assets/template_2_zoom.webp)

[![Sample templates and databases](https://s1-www.textcontrol.com/assets/dist/blog/2013/04/07/a/assets/template_3_zoom.webp "Sample templates and databases")](https://s1-www.textcontrol.com/assets/dist/blog/2013/04/07/a/assets/template_3_zoom.webp)

In this tutorial, we will show how to test these templates with our template designer **TX Text Control Words**. These templates are ready-to-use and contain features such as repeating items, repeating table headers and stylesheet formatting.

The templates give you a good start to learn how to use Flow Type Layout Reporting. The *Preview* functionality is a great feature to see your template in action without compiling or packaging the report like with other reporting tools.

1. Open **TX Text Control Words** and load the sample template *Invoice* using the *Open Sample Template* menu entry from the main menu *File*.
    
    ![Open sample template](https://s1-www.textcontrol.com/assets/dist/blog/2013/04/07/a/assets/insert_1.webp "Open sample template")
2. Click on *Load Sample Database* from the *Mailings* ribbon tab to open the sample database.
    
    ![Open the data source](https://s1-www.textcontrol.com/assets/dist/blog/2013/04/07/a/assets/insert_2.webp "Open the data source")
3. Select the table *general* from the drop-down list button *Select Table*. The table *general* is used for the fields in the document that are not part of a repeating block. The repeating block is named *items*, so that TX Text Control's Reporting class is looking for the table *items* automatically.
    
    ![Open the data source](https://s1-www.textcontrol.com/assets/dist/blog/2013/04/07/a/assets/tutorial_4.webp "Open the data source")
4. Now select *Preview Merge Fields* from the *Preview* ribbon tab. In the opened dialog, select the number of records for the preview process. You can choose the default value of 10 and confirm with *OK*.
    
    ![Open the data source](https://s1-www.textcontrol.com/assets/dist/blog/2013/04/07/a/assets/tutorial_5.webp "Open the data source")

The template is merged with data from the two tables *general* and *items*. As you can see, the item table row is repeated automatically. Now, you can switch back to the edit mode by clicking the *Preview Merge Fields* button again in order to change the formatting or text to get used to the concept.

---

## About Bjoern Meyer

As CEO, Bjoern is the visionary behind our strategic direction and business development, bridging the gap between our customers and engineering teams. His deep passion for coding and web technologies drives the creation of innovative products. If you're at a tech conference, be sure to stop by our booth - you'll most likely meet Bjoern in person. With an advanced graduate degree (Dipl. Inf.) in Computer Science, specializing in AI, from the University of Bremen, Bjoern brings significant expertise to his role. In his spare time, Bjoern enjoys running, paragliding, mountain biking, and playing the piano.

- [LinkedIn](https://www.linkedin.com/in/bjoernmeyer/)
- [X](https://x.com/txbjoern)
- [GitHub](https://github.com/bjoerntx)

---

## Related Posts

- [Windows Forms Tutorial: Create Your First Windows Forms C# Application](https://www.textcontrol.com/blog/2024/08/26/windows-forms-tutorial-create-your-first-windows-forms-csharp-application/llms.txt)
- [How to Mail Merge MS Word DOCX Documents in ASP.NET Core C#](https://www.textcontrol.com/blog/2023/10/16/how-to-mail-merge-ms-word-docx-documents-in-aspnet-core-csharp/llms.txt)
- [Creating an Angular Document Editor Application with a Node.js WebSocket Server](https://www.textcontrol.com/blog/2023/08/24/creating-an-angular-document-editor-application-with-a-nodejs-websocket-server/llms.txt)
- [Adding SVG Watermarks to Documents](https://www.textcontrol.com/blog/2022/01/28/adding-svg-watermarks-to-documents/llms.txt)
- [Using MailMerge in ASP.NET Core 6 Web Applications](https://www.textcontrol.com/blog/2022/01/27/using-mailmerge-in-aspnet-core-6-web-applications/llms.txt)
- [DocumentViewer for React Prerelease](https://www.textcontrol.com/blog/2020/10/27/document-viewer-for-react-prerelease/llms.txt)
- [New DocumentViewer Signature Tutorial Sample](https://www.textcontrol.com/blog/2020/08/18/new-documentviewer-signature-tutorial-sample/llms.txt)
- [Creating an ASP.NET MVC DocumentViewer Application With Razor](https://www.textcontrol.com/blog/2020/01/01/creating-an-aspnet-mvc-documentviewer-application-with-razor/llms.txt)
- [Creating Your First Windows Forms Application with C#](https://www.textcontrol.com/blog/2020/01/01/creating-your-first-windows-forms-application-with-csharp/llms.txt)
- [Creating Your First WPF Application](https://www.textcontrol.com/blog/2020/01/01/creating-your-first-wpf-application/llms.txt)
- [Creating a WPF Ribbon Application](https://www.textcontrol.com/blog/2020/01/01/creating-a-wpf-ribbon-application/llms.txt)
- [Integrate Document Editing into any HTML Client using the HTML Widget](https://www.textcontrol.com/blog/2020/01/01/integrate-document-editing/llms.txt)
- [Creating an ASP.NET MVC Application With Razor](https://www.textcontrol.com/blog/2020/01/01/creating-an-aspnet-mvc-application-with-razor/llms.txt)
- [Creating A Windows Forms Ribbon Application](https://www.textcontrol.com/blog/2020/01/01/creating-a-windows-forms-ribbon-application/llms.txt)
- [Creating Your First ASP.NET Reporting Application](https://www.textcontrol.com/blog/2020/01/01/creating-your-first-aspnet-reporting-application/llms.txt)
- [Creating an ASP.NET Web Forms AJAX Application](https://www.textcontrol.com/blog/2020/01/01/creating-an-aspnet-web-forms-ajax-application/llms.txt)
- [Creating a WebSocket Server Project with Node.js](https://www.textcontrol.com/blog/2020/01/01/creating-a-websocket-server-project-with-nodejs/llms.txt)
- [Creating an Angular Document Editor Application](https://www.textcontrol.com/blog/2020/01/01/creating-an-angular-document-editor-application/llms.txt)
- [ReportingCloud .NET Core Quickstart Tutorial](https://www.textcontrol.com/blog/2019/07/24/reportingcloud-dotnet-core-quickstart-tutorial/llms.txt)
- [Document Permissions and Password Encryption](https://www.textcontrol.com/blog/2019/07/05/document-permissions-and-password-encryption/llms.txt)
- [New Online Sample: Build your First Report](https://www.textcontrol.com/blog/2019/07/03/build-your-first-report/llms.txt)
- [Create your First Document with ReportingCloud](https://www.textcontrol.com/blog/2019/02/19/create-your-first-document-with-reportingcloud/llms.txt)
- [MailMerge: Starting Each Merge Block on a New Page](https://www.textcontrol.com/blog/2016/09/09/mailmerge-starting-each-merge-block-on-a-new-page/llms.txt)
- [Windows Forms and WPF: End a List on Return when Line is Empty](https://www.textcontrol.com/blog/2016/08/26/windows-forms-and-wpf-end-a-list-on-return-when-line-is-empty/llms.txt)
- [Using IFormattedText Objects to Access Elements Across All TextParts in a Document](https://www.textcontrol.com/blog/2016/08/25/using-iformattedtext-objects-to-access-elements-across-all-textparts-in-a-document/llms.txt)
