>Hi Cetin,
>thank you for your help.
>Unfortunately, I could not apply it. My version works with ´Word.Basic´ not ´Word.Application´. So I need other objects which I do not know. Anyhow, I thank you for your trying to help me.
>
>Milos
Milos,
Then you could use like this :
cMyTable = "mytablename"
oWord = createobject("word.basic")
with oWord
for ix=1 to fcount(cMyTable)
.setdocumentvar(field(ix,cMyTable),eval(field(ix,cMyTable)))
endfor
endwith
Here only you might need to add a conversion to char for eval() part.
Cetin