Created
May 4, 2022 08:08
-
-
Save bjoerntx/3bfd142d0ab356202487e238a7a048d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void Mm_FieldMerged(object sender, MailMerge.FieldMergedEventArgs e) { | |
if (e.Merged == false) { | |
if (e.MailMergeFieldAdapter.TypeName == "MERGEFIELD") { | |
MergeField mf = new MergeField(e.MailMergeFieldAdapter.ApplicationField); | |
mf.Text = "[Field not merged!]"; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment