Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Numbering / August 2005

Tip: Looking for answers? Try searching our database.

Using Boolean operators in code fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marko Pinteric - 17 Aug 2005 08:05 GMT
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.
Cindy M  -WordMVP- - 17 Aug 2005 10:53 GMT
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 :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.