Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word merge help
Message
From
02/12/1998 14:03:26
 
 
To
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Word merge help
Miscellaneous
Thread ID:
00163320
Message ID:
00163320
Views:
61
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.
Next
Reply
Map
View

Click here to load this message in the networking platform