Group:  Microsoft Word » microsoft.public.word.mailmerge.fields
Thread: Office 2003 Mail merge not preserving currency format

Geek News

Office 2003 Mail merge not preserving currency format
Umtalipete 4/27/2007 10:10:01 AM
Just upgraded to Office 2003 and have a number of letters that merge data
extracted from an Access database, which includes fields with currency and
dates. In Office 2000 these functions all worked but in Office 2003 the dates
seem ok but the currency just comes over as a plain number eg entry in
database 175 displayed in database as £175.00 but in the word doc is just
plain 175 where as in 2000 it appeared as £175.00. The fields in the database
are set as currency. Any ideas on how to overcome this and why it happens?
Many Thanks
Re: Office 2003 Mail merge not preserving currency format
"Peter Jamieson" <pjj[ at ]KillmapSpjjnet.demon.co.uk> 4/27/2007 11:05:13 AM
It occurs because
a. data and formatting are separated in Access
b. the default method Word uses to connect to Access data has changed from
"DDE" in Word 2000 to "OLEDB" in Word 2002/3/7
c. DDE gets the data from Access itself (which must be on your machine) and
delivers it more or less as you see it in many cases
d. OLEDB uses the underlying Jet database engine to get the data and
ignores the formatting.

You can either use "formatting switches" in your Word fields, e.g. use
Alt-F9 to show

{ MERGEFIELD myamount }

and change it to

{ MERGEFIELD myamount \#"£,0.00" }

That should be enough in simple situations.

Or you can check Word Tools|Options|General|"Confirm conversions at open",
go through the process of connecting to your data source again, and select
the DDE option when offered.

There are many differences between the two, but some you may need to take
note of at some point are:
a. DDE doesn't pass non-ANSI Unicode characters through
b. OLEDB can't "see" certain types of query, e.g. parameter queries, and it
doesn't understand the old "*" and "?" wildcards in queries that use LIKE

Peter Jamieson

"Umtalipete" <Umtalipete[ at ]discussions.microsoft.com> wrote in message
news:7DDE0948-9219-46D6-B3AF-FB17AF3E0AE8[ at ]microsoft.com...
[Quoted Text]
> Just upgraded to Office 2003 and have a number of letters that merge data
> extracted from an Access database, which includes fields with currency and
> dates. In Office 2000 these functions all worked but in Office 2003 the
> dates
> seem ok but the currency just comes over as a plain number eg entry in
> database 175 displayed in database as £175.00 but in the word doc is just
> plain 175 where as in 2000 it appeared as £175.00. The fields in the
> database
> are set as currency. Any ideas on how to overcome this and why it happens?
> Many Thanks


Re: Office 2003 Mail merge not preserving currency format
"Graham Mayor" <gmayor[ at ]REMOVETHISmvps.org> 4/27/2007 11:24:09 AM
See also http://www.gmayor.com/formatting_word_fields.htm

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

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

Umtalipete wrote:
[Quoted Text]
> Just upgraded to Office 2003 and have a number of letters that merge
> data extracted from an Access database, which includes fields with
> currency and dates. In Office 2000 these functions all worked but in
> Office 2003 the dates seem ok but the currency just comes over as a
> plain number eg entry in database 175 displayed in database as
> £175.00 but in the word doc is just plain 175 where as in 2000 it
> appeared as £175.00. The fields in the database are set as currency.
> Any ideas on how to overcome this and why it happens? Many Thanks


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net