F
Francisc Molnar
Hi all
I am programmatically(C#, using the PIA) changing the datasource for a word
document, wich contains some merge fields.
In order to avoid the prompt wich signals that certain fields have no
correspondent in the new datasource, I would like to obtain the merge field
names and check if the datasource has a corresponding column for each one of
them (if not - I will not call MailMerge.Execute()).
I cannot find a reasonable way to retrieve the merge field name (I cannot
obtain it like this: <<field>> -> field ... it's not always the same.)
Should I parse the MailMergeField.Code.Text ? ... I think it's not a very
good idea...
Thanks
I am programmatically(C#, using the PIA) changing the datasource for a word
document, wich contains some merge fields.
In order to avoid the prompt wich signals that certain fields have no
correspondent in the new datasource, I would like to obtain the merge field
names and check if the datasource has a corresponding column for each one of
them (if not - I will not call MailMerge.Execute()).
I cannot find a reasonable way to retrieve the merge field name (I cannot
obtain it like this: <<field>> -> field ... it's not always the same.)
Should I parse the MailMergeField.Code.Text ? ... I think it's not a very
good idea...
Thanks