When you generate an AutoMail letter, you may want a date to automatically
be inserted on to your letter, for example 31st Oct .
When you open this letter in IRIS at a later date you may wish the original
date to remain. For example, on 12th Nov ,
you view the document crated on 31st Oct .
You will still want the document to display the date the template was
created on, that is, 31 Oct .
For AutoMail to work in this way you may want to insert Microsoft Word's
'Create date' tag into your template.
To enter a date:
From IRIS Main Menu, click IRIS AutoMail.
The IRIS AutoMail- Letter Request Browser displays. Click the
Templates option.
The IRIS AutoMail - Letter Template Maintenance screen displays.
Highlight the template that you would like to change and click Edit.
The template will be displayed, toggle on the Field codes (press ALT F9 on your keyboard. For more information, please read Knowledge Based Article 1490).
To check for versions of MS Word, Click Help | About when in the MS Word Document.
Click the Insert tab. In the Text group select Quick Parts. From the drop down list Select Field.
In the Categories field select Date and Time from the drop-down list.
In the Field Names area select CreateDate.
Under Field Properties Date Formats, select the Date format that you would like. For example: Select 1 January .
Click OK to confirm your selection.
The Date on your Word document will be displayed in the following
format:
{CREATEDATE \@ "dd MMMM yyyy" \* MERGEFORMAT}
Minimise MS Word and click Save in the Tag Selection screen.
Click Insert. From the drop-down list select Field.
In the Categories field select Date and Time from the drop-down list.
In the Field Names field, click CreateDate.
Under Field Properties (Date Formats), select the Date format that you would like. For example: Select "1 January ".
Click OK to confirm your selection.
The Date on your Word document will be displayed in the following
format:
{CREATEDATE \@ "dd MMMM yyyy" \* MERGEFORMAT}
Minimise Word and click Save in the Tag Selection Screen.
Below are the definitions which can be used to format dates in word:
d = Date (e.g. 1)
dd = Date (e.g. 01)
dddd = Day (e.g. Monday)
MM = Month (e.g. 01)
MMM = Month (e.g. Jan)
MMMM = Month (e.g. January)
yy = Year (e.g. 08)
yyyy = Year (e.g. 2008)
Examples:
1-Jan-08 use the following d-MMM-yy
1 January 2008 use the following d MMMM yyyy
01/01/2008 use the following dd/MM/yyyy