Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping WORD Automation Errors
Message
 
 
To
29/04/2009 17:56:36
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:
01397079
Views:
44
>I'm using WORD 2003 Automation. I'm doing mail merge with a DBF as the data source. When there is a merge field in the WORD doc that doesn't have a source field in the DBF, I get an "Invalid Merge Field" error. Is there a way to trap this error or any other errors generated by WORD?

I found this message Re: Detecting Word's Invalid Merge Field message from VFP Thread #1211485 Message #1212366 that seems to deal with the exact same problem.
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