Conditional merging of "Merge fields"

B

Bill Voorhees

I understand how insert different words conditionally into a Merge document.
E.G.: if (Mergefield lastname) = "Smith" type "Good Guy" else type "Bad
Guy"

How do I conditionally insert Mergefields instead of words? EG: if
(Mergefield lastname) = "Smith" insert (mergefield vacation) else insert
(mergefield work)


Any thoughts appreciated.

Thanks, Bill V.
 
P

Peter Jamieson

Bill said:
I understand how insert different words conditionally into a Merge document.
E.G.: if (Mergefield lastname) = "Smith" type "Good Guy" else type "Bad
Guy"

How do I conditionally insert Mergefields instead of words? EG: if
(Mergefield lastname) = "Smith" insert (mergefield vacation) else insert
(mergefield work)

You're nearly there - all you need do is actually insert the appropriate
merge field instead of plain text. e.g.

{ IF { MERGEFIELD lastname } = "Smith"
"{ MERGEFIELD vacation }"
"{ MERGEFIELD work }" }

Where all the {} are the special field code braces (you can insert pairs
of field code braces using ctrl-F9 and type all the other text in
between them.)

Peter Jamieson
 
W

William E Voorhees

Works Great! Thanks

The ctrl-F9 key combo must be used. I tried typing {} to no avail.

thanks again

Bill V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top