Word Form Letter - If - then statements

T

tikitorch6

I have created a form letter that pulls information from a loca
database and populates the letter. However, I can't figure out how t
insert an if-then statement. Example: The letter reads "Dea
<<Borrower>>, <<CoBorrower>>"

Instead of the comma seperating the two I would like the form to inser
the word "and" IF the CoBorrower exists and leave it blank if th
CoBorrower does not exist.

Can anyone help me with this?

Thank you
 
S

Suzanne S. Barnhill

I expect you'll get an answer here. If not, you might try posting to the
newsgroup intended for mail merge questions,
microsoft.public.word.mailmerge.fields.
 
G

Graham Mayor

Insert the fields manually using CTRL+F9 to set each pair of field
boundaries {}
Then you'll need something along the lines of

Dear {Mergefield Borrower}{IF {Mergefield CoBorrower} <> "" " and
{Mergefield CoBorrower}"}
Toggle the display with ALT+F9 to show the result.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Top