Information générale
Catégorie:
Codage, syntaxe et commandes
>>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement