Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Andrew B Andrew B is offline
external usenet poster
 
Posts: 11
Default Merging from Access

Hi

I am trying to merge information from an access db into a word document and
have two annoying things which happen.

1. The server system (2003), Access and Word are all set for English UK
language and UK regional settings, however when data is merged dates come out
in US format and formatting is not preserved (although selected).

2. several of the merged fields are calculated dates which appear fine in
the database form but are blank on the merged document.

The information is for Wedding Banns so the format is a set legal
requirement and can't be changed

anyone have any suggestions how to solve this?

Andrew B
--
I used to have hair!
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Merging from Access

Hi Andrew,

To get the date format you want, you can add a formatting picture switch. In Word:
.. select the mergefield;
.. press Shift-F9 to expose the field coding. It should look something like {MERGEFIELD MyDate} where 'MyDate' is your mergefield's
name;
.. delete anything appearing after the mergefield's name and add '\@ "d MMMM yyyy"' to the field, as in {MERGEFIELD MyDate \@ "d MMMM
yyyy"}. With this switch your date will come out as '2 August 2008'. Other possible date formatting switches include:
. \@ "dddd, d MMMM yyyy";
. \@ "ddd, d MMMM yyyy";
. \@ "d MMM yyyy";
. \@ "dd/MMM/yyyy";
. \@ "d-MM-yy";
Note: Note: you can swap the d, M, y expressions around, but you must use uppercase 'M's for months.
.. position the cursor anywhere in this field and press F9 to update it;
.. run your mailmerge.


As for (2), does this affect all the calculated fields, or only some? Are the calculated dates a consistent offset from other date
constants that are available to the mailmerge? If so, you may be able to solve the issue by having Word do the calculations. To see
how to do this and just about everything else you might want to do with dates in Word, check out my Word Date Calculation Tutorial,
at:
http://lounge.windowssecrets.com/ind...owtopic=249902
or
http://www.gmayor.com/downloads.htm#Third_party
In particular, look at the item titled 'Date and Time Calculations In A Mailmerge'. Do read the document's introductory material.


--
Cheers
macropod
[Microsoft MVP - Word]


"Andrew B" wrote in message ...
Hi

I am trying to merge information from an access db into a word document and
have two annoying things which happen.

1. The server system (2003), Access and Word are all set for English UK
language and UK regional settings, however when data is merged dates come out
in US format and formatting is not preserved (although selected).

2. several of the merged fields are calculated dates which appear fine in
the database form but are blank on the merged document.

The information is for Wedding Banns so the format is a set legal
requirement and can't be changed

anyone have any suggestions how to solve this?

Andrew B
--
I used to have hair!


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging content from access AlecJames Microsoft Word Help 8 August 5th 09 06:00 PM
Merging with either Excel/Access AC Mailmerge 1 April 23rd 09 09:47 PM
Merging from Access to word Lace Mailmerge 1 June 11th 08 12:28 AM
Merging between Access and Word Lace Mailmerge 1 October 12th 07 05:36 PM
merging from access Ilan Mailmerge 3 December 30th 04 10:30 PM


All times are GMT +1. The time now is 01:17 AM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"