Date Word Field Help

P

peckitt99

Hi

How can i add a Word field to my document that can be prompted to enter
the dates of an event when i run a mail merge.

i need to know how the word field is created and then how it is used to
enter the start date of a critieria.

Thanks in Advance
 
G

Graham Mayor

Provided it is not a label merge then:

{ ASK MyDate "Start Date" \d { Date \@ "dd/MM/yyyy} \o }{ SKIPIF {
Mergefield Date \@ "yyyyMMdd"} < { REF MyDate \@ "yyyyMMdd "} } }

Where Mergefield Date is the field that contains the date data you wish to
compare with the date entered in the ASK field.
I have added a Date field to set the default to the ASK field. You can
change the switch of that field (but not the others) to local requirements -
see http://www.gmayor.com/formatting_word_fields.htm

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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