Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping WORD Automation Errors
Message
 
 
To
29/04/2009 18:32:03
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01397073
Message ID:
01397084
Views:
39
>That is the same problem and I thought of the same solution, but I don't know how to check what mail merge fields are in my WORD doc (using automation). Do you know how?

The code from Cetin does exactly that unless I misunderstand something. laFields is the list of fields in your source table and lcMergeField is taken from MailMerge fields collection.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform