Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

TX Text Control

News and interesting articles about the word processing component TX Text Control.

Flow Type Layout Reporting Series: Using repeating blocks


Blog Series: Flow Type Layout Reporting

Creating powerful hierarchical reports is the strength of TX Text Control. Nested repeating blocks with master-detail relationship views can be easily inserted. It doesn't matter what's repeated in the block: A table row, paragraphs, images or text frames. There are no limits.

Using repeating blocks

Thanks to the powerful, but easy-to-use designer, you can easily add a repeating block into your template.

The following tutorial shows how to use the sample address.xlsx database to insert a repeating block.

  1. Open TX Text Control Words and open the sample database like described in this tutorial from step 1 to 3.

  2. Click the Insert Merge Block drop-down button to open the list of available tables. Select Addresses$ from the list.

    Using repeating blocks

    In the opened dialog box, select the columns you would like to include in the data and select Table Row as the presentation form.

    Using repeating blocks

    TX Text Control Words automatically inserts a table row with the required bookmarks to define the beginning and the end of a repeating block.

    Using repeating blocks

    The bookmarks have a special naming, so that TX Text Control's MailMerge class can find the blocks and connected data. The start bookmark begins with BlockStart_ + the name of the merge block. Sample: BlockStart_Addresses$. The same is valid for the end bookmark: BlockEnd_Addresses$

  3. You can apply some formatting to the text and the table. The whole block is cloned including it's formatting and style.

    Using repeating blocks

  4. Finally, click the Preview button in the Mailings ribbon tab. The report is previewed based on the connected data source.

    Using repeating blocks

 

About TX Text Control:

 
TX Text Control was originally released in 1991, since then more than 50,000 copies have been sold. Starting off as a single, small DLL, TX Text Control has made its way through 16-bit DLL and VBX versions to today‘s Enterprise edition with its .NET and ActiveX components. The recent addition to the family, TX Text Control .NET Server, offers all of TX Text Control advanced word processing functionality in an easy-to-use server-side .NET component. Customers benefit from these years of experience, large user base, and at the same time, appreciate developing with a mature, reliable product.
 
 
North & South America: Phone: +1 704-370-0110 Phone: +1 877-462-4772 (toll free)
Europe: Phone: +49 (0)421 42 70 67 10
Asia Pacific: Phone: +886 2-2797-8508
Published Tuesday, June 18, 2013 12:24 AM by Christopher Krause

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Enter the code you see below

Submit

This Blog

Syndication