Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
darren via OfficeKB.com darren via OfficeKB.com is offline
external usenet poster
 
Posts: 4
Default mailmerge switch problem

Hi

I have a mailmerge from an access db and have a problem. The value of a field
£698.40 in a currency field in the database. When I merge to word the value
is the same. However, .....

when I apply a switch to format the value as currency { MERGEFIELD ProcFee \#
"£##,###.00" } I end up with £702.00 ?!

At present I only seem to have this issue with the one field though there are
other currency fields that get merged and formatted as currency. How can I
get it to show the correct value of £698.40?

Thanks

--
Darren

Message posted via http://www.officekb.com

  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default mailmerge switch problem

Are the other columns definitely Currency type columns, or are they
"Double" type columns with currency formatting?

As far as I know, the only fixes for this are
a. change the data type in Access or
b. use a query to do explicit type conversion, and use the query as
the data sourcefor the merge, e.g.

SELECT *,cdbl(myamount) As [myamount2] FROM mytable


Peter Jamieson

http://tips.pjmsn.me.uk

darren via OfficeKB.com wrote:
Hi

I have a mailmerge from an access db and have a problem. The value of a field
£698.40 in a currency field in the database. When I merge to word the value
is the same. However, .....

when I apply a switch to format the value as currency { MERGEFIELD ProcFee \#
"£##,###.00" } I end up with £702.00 ?!

At present I only seem to have this issue with the one field though there are
other currency fields that get merged and formatted as currency. How can I
get it to show the correct value of £698.40?

Thanks

  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default mailmerge switch problem

In addition to Peter's suggestion for the content of the Access Query, also
use the Access Format function to apply the Currency formatting and output
the result as text.

--
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

"Peter Jamieson" wrote in message
...
Are the other columns definitely Currency type columns, or are they
"Double" type columns with currency formatting?

As far as I know, the only fixes for this are
a. change the data type in Access or
b. use a query to do explicit type conversion, and use the query as the
data sourcefor the merge, e.g.

SELECT *,cdbl(myamount) As [myamount2] FROM mytable


Peter Jamieson

http://tips.pjmsn.me.uk

darren via OfficeKB.com wrote:
Hi I have a mailmerge from an access db and have a problem. The value of
a field
£698.40 in a currency field in the database. When I merge to word the
value
is the same. However, .....

when I apply a switch to format the value as currency { MERGEFIELD
ProcFee \#
"£##,###.00" } I end up with £702.00 ?! At present I only seem to have
this issue with the one field though there are
other currency fields that get merged and formatted as currency. How can
I
get it to show the correct value of £698.40? Thanks



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
Having a problem with a the TOC Field switch \b Mark Dullingham Page Layout 2 September 12th 08 02:30 AM
Mailmerge problem! Janelle Mailmerge 2 July 5th 08 08:28 PM
\d switch not honoured in Word 2007 mailmerge to email -MS CRM Belgarion2 Mailmerge 2 December 15th 07 06:33 PM
Problem with numeric picture switch in mail merge Art Mailmerge 2 May 4th 06 05:46 AM
Problem using simple field Switch JohnB Mailmerge 4 June 15th 05 11:14 AM


All times are GMT +1. The time now is 02:29 PM.

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

About Us

"It's about Microsoft Word"