Word mailmerge how to do multiple If statements
Hi Peter,
I guess for me, the confusion is where to place the information about the
actual fields in my Gen.doc within the If statement.
I have 4 different documents to begin with; Gen, Gen2, Gen3, Gen4. Within
each document I have 4 merge fields as so:
Name
Addr1
CPP
Sal
. . . . then the body text.
The field "Alert" does not appear in the document but is only used as
reference for type of letter.
So in your example of:
{ IF "{ MERGEFIELD ALERT }"= "" ""
"{ IF "{ MERGEFIELD ALERT }" = "GEN"
"{INCLUDETEXT"C:\\Mer\\Gen.doc"}"
"{MERGEFIELD ALERT}
"}then stuff that should be on the next line
I am confused about placement of the acutal data fields used in Gen, Gen2,
Gen3, Gen4, to suppress blank lines.
I will completely understand if you're getting frustrated with trying to get
the concept through my thick skull . . . so feel free to throw your hands up
and proclaim "what an idiot!" . . . lol
Thanks again for your time Peter.
Peter
|