How do I compare later/earlier dates in a mail merge IF field?

A

AdamT

I'm trying to create an IF field in a mail merge to display one of two
paragraphs depending on whether the Date of Birth field in a record is after
a certain time. I've tried using:

{ IF { MERGEFIELD Date_Of_Birth } > 01/07/1976 "Text1" "Text2" }

(The date format above is UK, i.e. dd/MM/yyyy)

....but Word always seems to treat the date as a number, and so any date
later than the first of a month counts as a positive, irrespective of month
or year.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top