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 / Mailmerge and Fax / September 2003

Tip: Looking for answers? Try searching our database.

If...then...else

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve B. - 30 Sep 2003 20:39 GMT
I am currently using "If...then...else" statements to
return a merge field, if a certain condition is met. Does
anyone know if there is a way to specify 2 conditions
instead of just 1? Sometimes I need to specify if EITHER
of these 2 conditions are met and other times I need to
specify if BOTH OF these 2 conditions are met.

Thanks for any guidance.

Steve B.
berkowis@phibro.com
Greg Maxey - 30 Sep 2003 22:28 GMT
Steve,

You have to use nested if fields and the order will determine if it is
evaluated AND or OR.

Example Bookmark A - True or False
               Bookmark B - True or False

The AND field code looks like this:

{ IF A = "True" "{ IF B = "True" "True" "False" }" "False"

The OR field code looks like this:

{ IF A = "True" "True" "{ IF B = "True" "True" "False"}"

Signature

Greg Maxey
A peer in "peer to peer" support
Rockledge, FL
Remove the obvious (wham...m)  to reply in e-mail

> I am currently using "If...then...else" statements to
> return a merge field, if a certain condition is met. Does
[quoted text clipped - 7 lines]
> Steve B.
> berkowis@phibro.com
 
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.