Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fill out Word Doc from VFP5.0a
Message
 
To
14/12/1997 19:09:54
Carol Adler
U.S. Army Kwajalein
Apo, Marshall Islands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00065785
Message ID:
00065969
Views:
31
>>Carol, I hope you'll get answers about printing the Word doc the way you want, but you CAN do a mail-merge quickly by copying the single record to a temp file and using this file for the mail-merge.
>>
>>I've used this and it works very well.
>>
>>HTH
>>Barbara
>
>I'm always willing to change, especially when what I do doesn't work. I know how to do a mail-merge using Word, but not with VFP as a server to Word. Can you expand upon your suggestion? What does the Word Document look like (fields, form fields, bookmarks), etc.?

Hi, Carol. I am also using the mail-merge method with VFP5.0a and Word Basic. Works great. I create a .dbf that contains the values I want to be available to the Word merge document. Create the document as a mail-merge document and set the data source for the document to the .dbf so Word uses ODBC to connect to the .dbf. Then after instantiating Word, I use 'owd.mailmergetodoc' where 'owd' is the Word object to do the merge from VFP.

HTH - Gail
Previous
Reply
Map
View

Click here to load this message in the networking platform