By: riko
Date: 2011-04-06
Time: 11:19
|
how to merge serial data in ms word docx file
hi, newbie need help here.
i just use tbs for merging a ms word template with data from mysql.
how to merge serial data from mysql to the ms word templates?
i use the script from example.
$TBS->MergeBlock('b,*',$con,'SELECT * FROM stock');
using this block in the tmplates [b.;block=tr;p1]
but it only load the first record from mysql.
i also try the serial display.
[b;block=td;serial] [b_1.stock_name;block=tr]
but the error messege always show on
TinyButStrong Error in block's definition [block1...]: at least one tag corresponding to td is not found. Check opening tags, closing tags and embedding levels.
what was it mean with "coresponding tag to td"
where i can get explanation about those coresponding tag, like td tr after the block section?
read the manual, but still can't figure it out. maybe someone could help me please.
thank
|
By: Skrol29
Date: 2011-04-06
Time: 21:44
|
Re: how to merge serial data in ms word docx file
Hi Riko,
<td> is an element which is used in HTML, but is not used in Ms Word (docx) documents. So you will never be able to merge data on a <tr> element in Ms Word.
Look ate the example given with the package, and also the synopsis file may help you.
|
By: riko
Date: 2011-04-07
Time: 07:34
|
Re: how to merge serial data in ms word docx file
ah, ic. ok thank. i try again
|
By: riko
Date: 2011-04-08
Time: 17:59
|
Re: how to merge serial data in ms word docx file
thank my problem solved
|
|
Posting in progress.
Please wait...
|