how to use OR logic

W

Word OR Statement

Hello,

I need to add another condition to an existing condition, so the "TRUE"
statement will display if either condition qualifies.

Conditon A (current condition) -
{If {=AND ({COMPARE {MERGEFIELD Field1} = "0"}, {COMPARE {MERGEFIELD Field2}
= "1"})} = 1}

Condition B (new condition) -
{MERGEFIELD Field3} = "1"

Need answer how to make this work -
If Condition A Or Condition B is true, then "True", Else "False".

Thanks in advance!
Judy
 
P

Peter Jamieson

Try

{ IF { = OR(AND({ COMPARE { MERGEFIELD Field1 } = "0" }, { COMPARE {
MERGEFIELD Field2 } = "1"}),{ COMPARE { MERGEFIELD Field3 } = "1" })} =
1 "true" "false" }

Peter Jamieson

http://tips.pjmsn.me.uk
 

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