Using Boolean operators in code fields

M

Marko Pinteric

Is it possible to use Boolean operators AND and OR in code fields?

E.g. {IF condition AND condition action1 action2}

If not, is there any other way to solve that problem?

Thanks for answers,

Marko.
 
C

Cindy M -WordMVP-

Hi Marko,
Is it possible to use Boolean operators AND and OR in code fields?
In a round-about way, yes. Go into Words Help and look up the
COMPARE field code. Now go down to the Example. See how it combines
IF and formula {= } fields with the OR and AND functions? (Compare
is irrelevant, here, it's just a good example for the functions)

Notice how the OR and AND functions list the two things to compare,
separated by the ARGUMENT SEPARATOR defined in Windows. In the Help
documentation, this is usually a comma. But the symbol used by your
Word/Windows installation may be different (a semicolon, for
example)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 

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