>I am looking to use Microsoft Word from within my VFP application to create letters. I want to be able to add variables within the letter that I can
>insert from the database when I print the letters. Does anyone know of any good white papers or articles that I could find to help me with this task ?
>
>Thanks For Your Help !
>Stephen J. Hunt
>Admit Computer Services Inc.
Check
www.hentzenwerke.com for books.
Apart from that you could update variables like:
FUNCTION _SetVar
LPARAMETERS toDoc, tcVarName, tcVarValue
toDoc.Variables(m.tcVarName).value = iif(empty(m.tcVarValue)," ",m.tcVarValue)
Cetin