Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / July 2004

Tip: Looking for answers? Try searching our database.

Date format is not uniform

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave - 24 Jul 2004 21:26 GMT
I am using MS-Word 2002 and importing data into a form
letter from an MS-Access 2000 database query.  I have the
date format in the database (table, form, query and
report) set to "short date".  When the field is merged
into the form letter, MS-Word converts the short date
into the "general date" format.  How can I resolve this
problem?

example:
database date format = mm/dd/yy
word displays as: yyyy-mm-dd 00:00:00

Any help would be greatly appreciated.

Dave
Peter Jamieson - 25 Jul 2004 00:36 GMT
If you're inserting the date using a MERGEFIELD field, use e.g.

{ MERGEFIELD mydate \@"MM/DD/YY" }

If you're inserting the date in a column in a DATABASE field, you will
probably need to use a function such as format() in the Query SQL to convert
the date to the string value you need.

Signature

Peter Jamieson

> I am using MS-Word 2002 and importing data into a form
> letter from an MS-Access 2000 database query.  I have the
[quoted text clipped - 11 lines]
>
> Dave
Graham Mayor - 25 Jul 2004 06:00 GMT
See also http://www.gmayor.com/formatting_word_fields.htm

Signature

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

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> I am using MS-Word 2002 and importing data into a form
> letter from an MS-Access 2000 database query.  I have the
[quoted text clipped - 11 lines]
>
> Dave
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.