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 2004

Tip: Looking for answers? Try searching our database.

Use of IF statements w/ bookmarks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Claudia - 20 Sep 2004 22:25 GMT
I'm having trouble getting an IF statement to work
properly (or it's operator error, I'll concede).  This is
the statement:
IF IdahoorFed = Idaho "fifteen (15)" "thirty (30)"

The bookmark IdahoorFed is a dropdown field, with two
choices: Idaho or Federal.  My IF statement occurs later
in the paragraph.  What I want to happen is if "Idaho" is
chosen, then the result in this field should be "fifteen
(15)", if it's "Federal," then it should state "thirty
(30)".  I cannot get it to work.  Right now it's
showing "thirty (30)" despite my IF statement.  What am I
doing wrong?
Peter Jamieson - 21 Sep 2004 05:27 GMT
Try using the bookmark /field/, i.e.

I'd suggest you need some additional quotes at least:

{ IF IdahoorFed = "Idaho" "fifteen (15)" "thirty (30)" }

and I would go for

{ IF { REF IdahoorFed } = "Idaho" "fifteen (15)" "thirty (30)" }

where all the {} are the special field code braces you can insert using
ctrl-F9.

Signature

Peter Jamieson

> I'm having trouble getting an IF statement to work
> properly (or it's operator error, I'll concede).  This is
[quoted text clipped - 9 lines]
> showing "thirty (30)" despite my IF statement.  What am I
> doing wrong?

Rate this thread:






 
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.