Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word merge help
Message
 
 
À
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Word merge help
Divers
Thread ID:
00163320
Message ID:
00163320
Vues:
56
You seem to be the VFP2Word Wizard :) so here it goes.
I would like to close the original template file after the merge file have been created. Right now, when Word shows, there are 2 documents (new template file and mail merge created document) open.

code snipplet below:

WITH oWordDocument
.FileNew(lcTemplate)
.MailMergeOpenDataSource(cDataFile,,,,,,,,,,,cDSN,cSQLStatement,1)
.MailMergeToDoc
.AppShow
ENDWITH

Any suggestions? TIA.
It's "my" world. You're just living in it.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform