>How to automate WordPerfect from Microsoft Visual FoxPro6.0 to open document and pass a few fields to the document?
You didn't mention how far you had managed to get?
loApp = createobject("WordPerfect.PerfectScript")
loApp.FileOpen(lcFileName)
loApp.Type("Hello World")
loApp.Quit()
loApp=.NULL.
HTH
Caroline