Hi,
I’ve some trouble filling rows in a word table using VB.NET
.
I’ve tried to pass a data table to the builder:
d.MailMerge.ExecuteWithRegions(tab) (d is the aspose.wprd.document)
the template document table:
| TableStart:1«&269» | «&455» | «&267» | «&268» | «&270» | «&271»TableEnd:1 |
| Tot. | «&105» |Cbm. «&102» | Data Trasporto | «&098» |
| «&452» |
The data table:
&269 &455 &267 &268 &270 &271
40BX 1 . LAMIERE ALLUMINIO 1,00
40BX 1 . LAMIERE ALLUMINIO 1,00
The output document:
| Marcatura | Tipo | Colli | Imballo | Descrizione merce | Peso Lordo Kg. |
| | 40BX | 1 | . | LAMIERE ALLUMINIO | 1,00 |
| | 40BX | 1 | . | LAMIERE ALLUMINIO | 1,00 |
| | Tot. | | Cbm. | Data Trasporto| |
as you can see the last row (outside the tablestart / tableend) is not filled with data.
I can get this row filled if I put an additional row with empty fields.
The rest of the document is filled correctly.
Can anyone tell me where I`m wrong ?
tnx
I can send a well formatted word document if necessary.
Walimay