View Single Post
  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
pms pms is offline
external usenet poster
 
Posts: 14
Default "IF" Statement and Multiple Conditions

That's what I thought. Thanks for your assistance. PS

"Doug Robbins - Word MVP" wrote:

The easiest thing will be to set up a nested If...then...Else construction
for each state

{ IF { MERGEFIELD RISK_STATE } = AL { IF { MERGEFIELD LOB } = EP {
INCLUDETEXT "DRIVE:/PATH/FILENAME" } "" } "" }

and repeat this with no space between each of the above field constructions
for each of the other states.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"PMS" wrote in message
...
I've been using this feature for a very long time. I can't seem to figure
this one out. I'm using Word 2003. I have a document that requires another
document be inserted. The conditions are only for states AL, AZ, IL, IN OR
MI
({MERGEFIELD RISK_STATE}) AND if the line of business {MERGEFIELD LOB} is
EP,
NP OR HO. Help! Thanks, PS