Hi Paul,
I did not resealed that you want one table per record. My tip still works but I have to change it a bit.
First you have to know that :
1) In a docx, a table (tbs:table) take the same place as a paragraph (tbs:p).
2) In Ms Word, if you try to insert a second table just after the first one then Ms Word will merge the two tables into a single one. In order to place a table just after another in Ms Word, you first have to insert a paragraph after the first table, then add the second table, then delete the paragraph between the two table. This will keep the two tables.
Here is a schema of the template you can do :
-----------------------------------------
|Table 1 | Column | Column |
[bmt;block=tbs:table] | | |
-----------------------------------------
-----------------------------------------
|Table 2 | Column | Column |
[bmt;block=tbs:table] | | |
-----------------------------------------
-----------------------------------------
|Table 3 | Column | Column |
[bmt;block=tbs:table] | | |
-----------------------------------------
/// page break here defined by paragraph (*) ///
-----------------------------------------
|Table 4 (*) | Column | Column |
[bmt;block=tbs:table] | | |
-----------------------------------------
|
Note that :
- They are 4 tables having the same TBS block name ("bmt"). This makes a single TBS block with 4 sections. Each section is a Ms Word table.
- Tables are one after the others. If you add a paragraph between them, then the paragraph will be deleted during the merge by TBS. This is because sections are defined over a single table. If you want to keep the paragraph, then include the paragraph in the TBS section with "block=tbs:table+tbs:p" for example.
- The last table has a page-break (*) in the first cell. For doing this, put the cursor on the first cell of the table, then choose the paragraph properties (ribbon "Home", then block "Paragraph", then click on the small arrow in the right bottom, then go to tab "Line and page break", then select "Page break before").