DDE Merge field - using OR

G

GaryZ

I am trying to merge a data field from GoldMine to Word 2003. I would like
to display a message based on the State field. I can do the logic if it's
one specific state or another but I would like to use the OR logic. The
statement below is not working. Could you give me the proper logic when
using OR.

{IF { = OR ( { COMPARE { DDEAUTO GoldMine Data CONTACT1->STATE } = "PA" },
{ COMPARE { DDEAUTO GoldMine Data CONTACT1->STATE } = "NJ" }, { COMPARE {
DDEAUTO GoldMine Data CONTACT1->STATE } = "NY" }) } = 1 "PS. Please Visit"
"PS. With our Commitment."}
 
W

Word Heretic

G'day "GaryZ" <[email protected]>,

Best off to write a bit of VBA that edits the results after the merge.
Said VBA could even trigger the merge so it is still a one-press
process.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


GaryZ reckoned:
 

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