I need to use Word to print a document with data from a .dbf.
I use the OLE Automation with Word to do this.
I like to use the word document variables to update the information in Word.
I use this commands:
loWord=CREATE('Word.Application')
loWord.ActiveDocument.Variables("MyField").Value= MyField
But I do not remember how to create the document.variables in Word.
Right now ( on client site) I do not have the VBA documentation.
Any one remembers how to do this?