Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping WORD Automation Errors
Message
 
 
À
29/04/2009 17:56:36
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01397073
Message ID:
01397078
Vues:
43
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform