Mailmerge date format

O

Ocean

I using mailmerge to take some dates out of an Access DB to merge into some
letters. The date format in the DB is correct (eg UK format dd/mm/yyyy). But
when I mailmerge, it comes out as mm/dd/yyyy - USA format. The regional
settings are correct. But if I add following formatting data: \@"dd MMMM
yyyy" then it works. However, this is a faff having to modify this each
mailmerge letter I do - can this be set up as default ? It seems a bit poor
that Microsoft cant allow this formatting everytime. Any help would really
save my sanity ! Thanks
 
D

Doug Robbins - Word MVP

Access is not actually storing the date in that format, just displaying it
that way. You can however use the format function in a query in Access to
force the date into the format that you want and use the query as the data
source for the mailmerge. Alternatively, create and autotext entry that
contains the mergefield with the switch and insert the autotext entry when
you want to insert the mergefield containing the date into your mail merge
main documents.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
O

Ocean

Hi, I created a query, and set the format to 'short date'. however, when I do
a mailmerge it still comes out as the US format (mm/dd/yyyy) rather than the
UK (dd/mm/yyyy) which is what I want. Why does it defalt to this, when all
settings are made for UK and not US? Any help would be appreciated... Thanks
 
D

Doug Robbins - Word MVP

That is not using the format function. You need to create an expression in
the query that uses the function

Format([Field Name], "dd/MM/yyyy")

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
J

JethroUK©

Word 2002 apparently has a bug - so no amount of formatting will show UK
date format


Doug Robbins - Word MVP said:
That is not using the format function. You need to create an expression in
the query that uses the function

Format([Field Name], "dd/MM/yyyy")

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Ocean said:
Hi, I created a query, and set the format to 'short date'. however, when I
do
a mailmerge it still comes out as the US format (mm/dd/yyyy) rather than
the
UK (dd/mm/yyyy) which is what I want. Why does it defalt to this, when all
settings are made for UK and not US? Any help would be appreciated...
Thanks
 
D

Doug Robbins - Word MVP

The use of the format() function in an Access query converts the data to
text. Once in that format, it is no longer treated as a Date data type.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

JethroUK© said:
Word 2002 apparently has a bug - so no amount of formatting will show UK
date format


Doug Robbins - Word MVP said:
That is not using the format function. You need to create an expression in
the query that uses the function

Format([Field Name], "dd/MM/yyyy")

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Ocean said:
Hi, I created a query, and set the format to 'short date'. however,
when I
do
a mailmerge it still comes out as the US format (mm/dd/yyyy) rather
than
the
UK (dd/mm/yyyy) which is what I want. Why does it defalt to this, when all
settings are made for UK and not US? Any help would be appreciated...
Thanks

:

Access is not actually storing the date in that format, just
displaying
it
that way. You can however use the format function in a query in
Access
to
force the date into the format that you want and use the query as the
data
source for the mailmerge. Alternatively, create and autotext entry that
contains the mergefield with the switch and insert the autotext entry
when
you want to insert the mergefield containing the date into your mail
merge
main documents.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

I using mailmerge to take some dates out of an Access DB to merge
into
some
letters. The date format in the DB is correct (eg UK format
dd/mm/yyyy).
But
when I mailmerge, it comes out as mm/dd/yyyy - USA format. The regional
settings are correct. But if I add following formatting data: \@"dd
MMMM
yyyy" then it works. However, this is a faff having to modify this each
mailmerge letter I do - can this be set up as default ? It seems a bit
poor
that Microsoft cant allow this formatting everytime. Any help would
really
save my sanity ! Thanks
 

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