Categories > OpenTBS with DOCX >

Trouble with parallel on dynamic merge

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Neil Sverdloff
Date: 2016-11-18
Time: 10:53

Trouble with parallel on dynamic merge

Been pulling my hair out for a couple  of days with this one.

Am trying to create a table something like below but I can't make this work properly.

I can either achieve the repeated columns with the correct data but no repeated header by removing the parallel property or I can achieve a nice parallel merge but with the sub data from the first a block repeated in every row.

there are typically about 4 or 5 results from the a query which each have 2 or 3 sub query results

Am I trying to achive something which TBS isn't capable of or can anyone offer any advice where I am going wrong?

-----------------------------------------------------------------------------------------------------------------------------------------
Tank                               |   Result                                                                                                           | Rockwell C |
----------------------------|---------------------------------------------------------------------------------------------|--------------
[a.Tank;block=2*tbs:row]  |[sub.Rep ]                                                                                                                         |
                                   |-----------------------------------------    ----------------------------------------------------|-------------|                        
                                   |[sub.Result;block=2*tbs:cell;p1=[a.pk_Sample];parallel=tbs:table;ondata=rockwellCconv] | [sub.HRC]  |
-----------------------------------------------------------------------------------------------------------------------------------------
By: Skrol29
Date: 2016-11-20
Time: 23:41

Re: Trouble with parallel on dynamic merge

Hi Neil,

Merged cells are quite difficult to manage in Ms Word and they are not supported by parameter "parallel".
The other thing this is that the first block "a" is defined on two rows having first cell merged, while the sub block "sub" may extends this number of rows. So the vertical merge could be wrong too.

You should maybe use a sub-table for the sub-block. Then you can extend the number of columns and rows without interfering with the parent block.
By: Neil Sverdloff
Date: 2016-11-21
Time: 08:53

Re: Trouble with parallel on dynamic merge

Hi Skrol29,

Thanks for the advice. I have tried the above design without merging any of the cells without success. I will try as you suggest using a separate table for the sub block.

Many Thanks

Neil