Repeating blocks or merge blocks is a very flexible feature with Text Control Reporting. The content of a block is repeated based on the number of data rows that are passed to this block. Generally, you can repeat everything: A table row, a complete table, paragraphs or a single word. All break characters are repeated and applied automatically.
To insert a new merge block in TX Text Control Words - the Text Control Reporting template designer - the following easy steps are required:
-
Create a paragraph, table or whatever you want to repeat and add some fields:
-
Select that part of the text that should belong to the repeating block and choose an available block from the Insert Merge Block drop-down button:
Consider the following block (between the two block markers) where product names should be listed in the same paragraph:
When merging this block, the products are repeated in inline:
When adding the CLRF ("carriage return line feed") control character to the block, a new paragraph is inserted for each block:
The resulting document is shown below:
Instead of a new paragraph after the block, you can also insert a page break, section break or column break that are applied automatically during the merge process.