Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Shoelaces
 
Posts: n/a
Default IF Statement

I must not understand the construct of IF statements in a mail merge.

I have a Word document (2003) set up as a mail merge from an Access (2003)
database. The records pull contain a field "Sex". The value of that field
is either "M" or "F".

I would like to have the Word document have a sentence such as:
First has been recognized because because of his/her blah blah blah.

Instead of "he/she", I would like either "he" or "she".

Looking at:
http://support.microsoft.com/?kbid=214827

it appears the structure is:
{if {Sex}= "M" "he" {if {Sex}= "F" "she"}"}

Yet, that does not merge anything.

So, now I am not certain what to do. I would appreciate your help with this.
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Q: IF statement in table in Word JIM.H. Microsoft Word Help 1 November 4th 05 11:18 PM
Statement parameter in Mailmerge.OpenDataSource Christof Nordiek Mailmerge 6 April 26th 05 09:31 AM
Possible BUG: Multiple HTTPrequests send from one includetext statement Oliver Mailmerge 2 April 18th 05 09:46 AM
How do I copy a scanned signature into an if/or statement in Word mcgowan Mailmerge 2 February 1st 05 06:37 AM
Insert carriage return in mergefield statement dixie Mailmerge 2 December 22nd 04 03:42 AM


All times are GMT +1. The time now is 04:47 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"