D
dixie
I have 3 date fields in an access database. Date1, Date2 and Date3.
It is possible that either 1, 2 or all 3 will have date data in them. Date3
will not have data if Date2 is blank.
I want to have a mailmerge add different wording if ONLY Date1 has a date,
OR Date1 and Date2 have dates, OR all 3 have dates in them. My idea is to
look what happens if Date1 is blank, then look at what happens if Date2 and
Date3 have data in them.
How can I code this in the word document.
Can I say something along the lines of {If {MERGEFIELD Date1} <> "" AND {If
{MERGEFIELD Date2} <>"" "print this" "else print this"}. If so, what is the
exact context? I have tried using AND, but it didn't work.
It is possible that either 1, 2 or all 3 will have date data in them. Date3
will not have data if Date2 is blank.
I want to have a mailmerge add different wording if ONLY Date1 has a date,
OR Date1 and Date2 have dates, OR all 3 have dates in them. My idea is to
look what happens if Date1 is blank, then look at what happens if Date2 and
Date3 have data in them.
How can I code this in the word document.
Can I say something along the lines of {If {MERGEFIELD Date1} <> "" AND {If
{MERGEFIELD Date2} <>"" "print this" "else print this"}. If so, what is the
exact context? I have tried using AND, but it didn't work.