Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Ignore merge field codes when field doesn't exist
Hi, I work at a charity, and we have a template letter document that prints
different receipt letters depending on different donations. Sometimes, raffle tickets will have been purchased, and we need to add the ticket range info to the letter. The problem is that letters without raffle ticket information don't have ticket info fields in the data. Therefore, I get "Error! MergeField was not found in header record of data source" errors. Is there a way to display field data only if the field actually exists in the data source? Something like 'if exists {mergefield firstTicket}' or '{if {mergefield firstTicket } is not null' thanks for any help Using: Word 2003 Win XP Pro |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Switches/field codes to fix zip code in merge | Mailmerge | |||
Field codes: MergeField field RTF format problem | Mailmerge | |||
Merge Field Codes accessing Content Controls | Microsoft Word Help | |||
Saving word document with field results not field codes | Microsoft Word Help | |||
Field Codes disapearing During a mail merge | Microsoft Word Help |