Computing.Net > Forums > Database > word if statement, please help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

word if statement, please help

Reply to Message Icon

Name: chaft
Date: June 8, 2008 at 16:39:49 Pacific
OS: xp pro
CPU/Ram: 512
Comment:

I need the following if statement in a word merge 'if statement' format. I really don't know how microsoft word structure their "If LOOPS"

THIS is what I need converted into a Word If statement

#############################################

If there is data for the "POSTION" then show only this

else

if there is data for the "CHURCHADDRESSINGTERM" then show it otherwise show only the
"FIRSTNAME"

end if
end if

###########################################


so my guess is

{if{ mergefield POSITION}<>"" "{mergefield POSITION}" "{if{mergefield CHURCHADDRESSINGFIELD}="" "{mergefield FIRSTNAME}"}}

doesn't quite work though. any ideas?



Sponsored Link
Ads by Google

Response Number 1
Name: Jennifer SUMN
Date: August 8, 2008 at 21:48:09 Pacific
Reply:

Enter "Examples of IF fields" in Word Help. Then look for the option to specify multiple conditions.

"So won’t you give this man his wings
What a shame
To have to beg you to see
We’re not all the same
What a shame" - Shinedown


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Database Forum Home


Sponsored links

Ads by Google


Results for: word if statement, please help

if statement help pls www.computing.net/answers/dbase/if-statement-help-pls/407.html

Please Help Me! www.computing.net/answers/dbase/please-help-me/30.html

Please help in IIS www.computing.net/answers/dbase/please-help-in-iis/559.html