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:
01397078
Views:
42
>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 don't think TRY/CATCH solution can trap these errors. I think we were having some weird problems doing MailMerge when the Word displayed Switch to /Retry dialog. Not because of the field errors, but because it was taking too long.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform