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

word if statement, please help

Reply to Message Icon

Original Message
Name: chaft
Date: June 8, 2008 at 16:39:49 Pacific
Subject: word if statement, please help
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?


Report Offensive Message For Removal


Response Number 1
Name: Jennifer SUMN
Date: August 8, 2008 at 21:48:09 Pacific
Subject: word if statement, please help
Reply: (edit)

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


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: word if statement, please help

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge