mergefield

P

Pwint

hi

how do I do mergefield with =not for more than one field?

e.g. {IF{mergefield "ClientID" } =NOT "1234"

But how do I do in, ie


IF ClientID NOT = 1234 or 5678 or 0987

thanks in advance
 
D

Doug Robbins - Word MVP

For =NOT use <>

For the other use

{ IF { MERGEFIELD "ClientID" } <> "1234" { IF { MERGEFIELD "ClientID" } <>
"5678" { IF { MERGEFIELD "ClientID" } <> "0987" "True Result" "False
Result" } "False Result" } "False Result" }

--
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
 

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