Question : MergeField not found breaks the automated mailmerge process: Word object shows a dialog!

Hi I'm using .NET (c#) for mailmerge using a Word10 object.

The problem is when some mergefield is not found in the datasource query. If Word object is visible it shows a dialog about what to do with the field, whether change it , remove it, etc.  It breaks my automated system!

I don't want the process to stop, waiting for some human interaction!,  is there some solution to default the behavior to skip the field ?  I'm going to do more than one merge...


Thank you.
Ray.

Answer : MergeField not found breaks the automated mailmerge process: Word object shows a dialog!

Yeah - I work with VBA/Word alot and have never heard of any other way around what you're asking....IMHO, you've got to have all the fields defined...
Random Solutions  
 
programming4us programming4us