Hi Guys,
After further investigation it appears that the first approach is not a very good one. This does not allow for the inner table to automatically continue onto a new page. I.e. if I have one row in the outer table and 20 rows in the inner table (located in OuterTable[0,1]) then the inner table will not split onto a new page if required.
Instead it looks like I need to Add each block to the main section. The problem with this approach is that there is no way to Keep one table in the section with another table in the section. E.g. in the example below I want to keep table 1 with table 2
Section - Table 1 Row 1 cell 1, row 1 cell 2, row 1 cell 3 Row 2 cell 1, row 1 cell 2, row 1 cell 3 Row 3 cell 1, row 1 cell 2, row 1 cell 3 - Table 2 Row 1 cell 1 Row 2 cell 1
The only way I can think of to keep Table 2 with Table 1 is to have Table 2 internal to Table 1. i.e. Section 1 - Table 1 Row 1 cell 1, row 1 cell 2, row 1 cell 3 Row 2 cell 1, row 1 cell 2, row 1 cell 3 Row 3 cell 1, row 1 cell 2, row 1 cell 3 Row 4 cell1.MergeRight 2 - Table 2 Row 1 cell 1 Row 2 cell 1
I just hope Table 1 will now automatically split over to a new page if it contains too many rows.
Cheers
|