Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Paresh Gupta Paresh Gupta is offline
external usenet poster
 
Posts: 7
Default Mail Merge with SQL 2000

I am doing a Mail merge document with SQL 2000 as my data source. There are
some Money fields which are coming on the Mail merge document, but whatever I
do, they come with 4 decimal places. I have tried the Numeric Switches \#
#0.00, but to no avail.
Version of Word is 2003

Please help

  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Mail Merge with SQL 2000

Did you update the field after adding the switch?
{Mergefield Fieldname \# ",0.00" }
Is '.' your regional decimal separator?
What *exactly* does {Mergefield Fieldname} produce?

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
I am doing a Mail merge document with SQL 2000 as my data source.
There are some Money fields which are coming on the Mail merge
document, but whatever I do, they come with 4 decimal places. I have
tried the Numeric Switches \# #0.00, but to no avail.
Version of Word is 2003

Please help



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Paresh Gupta Paresh Gupta is offline
external usenet poster
 
Posts: 7
Default Mail Merge with SQL 2000

Yes, I update the field after adding the switch. The '.' is my Regional
Decimal seperator. If I look at the record in SQL the data is like 1232.0034
and this is exactly what shows up in Word.

"Graham Mayor" wrote:

Did you update the field after adding the switch?
{Mergefield Fieldname \# ",0.00" }
Is '.' your regional decimal separator?
What *exactly* does {Mergefield Fieldname} produce?

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
I am doing a Mail merge document with SQL 2000 as my data source.
There are some Money fields which are coming on the Mail merge
document, but whatever I do, they come with 4 decimal places. I have
tried the Numeric Switches \# #0.00, but to no avail.
Version of Word is 2003

Please help




  #4   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 Mail Merge with SQL 2000

Try using { = { MERGEFIELD [fieldname] } * 1 \# "$,0.00" }


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

"Paresh Gupta" wrote in message
...
Yes, I update the field after adding the switch. The '.' is my Regional
Decimal seperator. If I look at the record in SQL the data is like
1232.0034
and this is exactly what shows up in Word.

"Graham Mayor" wrote:

Did you update the field after adding the switch?
{Mergefield Fieldname \# ",0.00" }
Is '.' your regional decimal separator?
What *exactly* does {Mergefield Fieldname} produce?

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
I am doing a Mail merge document with SQL 2000 as my data source.
There are some Money fields which are coming on the Mail merge
document, but whatever I do, they come with 4 decimal places. I have
tried the Numeric Switches \# #0.00, but to no avail.
Version of Word is 2003

Please help






  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Paresh Gupta Paresh Gupta is offline
external usenet poster
 
Posts: 7
Default Mail Merge with SQL 2000

How to add this field within field.....

Thanks

"Doug Robbins - Word MVP" wrote:

Try using { = { MERGEFIELD [fieldname] } * 1 \# "$,0.00" }


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

"Paresh Gupta" wrote in message
...
Yes, I update the field after adding the switch. The '.' is my Regional
Decimal seperator. If I look at the record in SQL the data is like
1232.0034
and this is exactly what shows up in Word.

"Graham Mayor" wrote:

Did you update the field after adding the switch?
{Mergefield Fieldname \# ",0.00" }
Is '.' your regional decimal separator?
What *exactly* does {Mergefield Fieldname} produce?

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
I am doing a Mail merge document with SQL 2000 as my data source.
There are some Money fields which are coming on the Mail merge
document, but whatever I do, they come with 4 decimal places. I have
tried the Numeric Switches \# #0.00, but to no avail.
Version of Word is 2003

Please help








  #6   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Mail Merge with SQL 2000

Use CTRL+F9 for the brackets and type the rest.

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
How to add this field within field.....

Thanks

"Doug Robbins - Word MVP" wrote:

Try using { = { MERGEFIELD [fieldname] } * 1 \# "$,0.00" }


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

"Paresh Gupta" wrote in
message ...
Yes, I update the field after adding the switch. The '.' is my
Regional Decimal seperator. If I look at the record in SQL the data
is like 1232.0034
and this is exactly what shows up in Word.

"Graham Mayor" wrote:

Did you update the field after adding the switch?
{Mergefield Fieldname \# ",0.00" }
Is '.' your regional decimal separator?
What *exactly* does {Mergefield Fieldname} produce?

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
I am doing a Mail merge document with SQL 2000 as my data source.
There are some Money fields which are coming on the Mail merge
document, but whatever I do, they come with 4 decimal places. I
have tried the Numeric Switches \# #0.00, but to no avail.
Version of Word is 2003

Please help



  #7   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Paresh Gupta Paresh Gupta is offline
external usenet poster
 
Posts: 7
Default Mail Merge with SQL 2000

I keep getting
Invalid Character string.......

"Graham Mayor" wrote:

Use CTRL+F9 for the brackets and type the rest.

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
How to add this field within field.....

Thanks

"Doug Robbins - Word MVP" wrote:

Try using { = { MERGEFIELD [fieldname] } * 1 \# "$,0.00" }


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

"Paresh Gupta" wrote in
message ...
Yes, I update the field after adding the switch. The '.' is my
Regional Decimal seperator. If I look at the record in SQL the data
is like 1232.0034
and this is exactly what shows up in Word.

"Graham Mayor" wrote:

Did you update the field after adding the switch?
{Mergefield Fieldname \# ",0.00" }
Is '.' your regional decimal separator?
What *exactly* does {Mergefield Fieldname} produce?

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
I am doing a Mail merge document with SQL 2000 as my data source.
There are some Money fields which are coming on the Mail merge
document, but whatever I do, they come with 4 decimal places. I
have tried the Numeric Switches \# #0.00, but to no avail.
Version of Word is 2003

Please help




  #8   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Mail Merge with SQL 2000

In that case you haven't entered it correctly.
There are two sets of field brackets each inserted with CTRL+F9 to produce

{ = { MERGEFIELD [fieldname] } * 1 \# "$,0.00" }

[fieldname] is replaced by the actual fieldname of the errant field from
your data source. The rest is typed exactly as it appears above.

--

Graham Mayor - Word MVP

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




Paresh Gupta wrote:
I keep getting
Invalid Character string.......

"Graham Mayor" wrote:

Use CTRL+F9 for the brackets and type the rest.

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
How to add this field within field.....

Thanks

"Doug Robbins - Word MVP" wrote:

Try using { = { MERGEFIELD [fieldname] } * 1 \# "$,0.00" }


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

"Paresh Gupta" wrote in
message ...
Yes, I update the field after adding the switch. The '.' is my
Regional Decimal seperator. If I look at the record in SQL the
data is like 1232.0034
and this is exactly what shows up in Word.

"Graham Mayor" wrote:

Did you update the field after adding the switch?
{Mergefield Fieldname \# ",0.00" }
Is '.' your regional decimal separator?
What *exactly* does {Mergefield Fieldname} produce?

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
I am doing a Mail merge document with SQL 2000 as my data
source. There are some Money fields which are coming on the
Mail merge document, but whatever I do, they come with 4
decimal places. I have tried the Numeric Switches \# #0.00, but
to no avail. Version of Word is 2003

Please help



  #9   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Paresh Gupta Paresh Gupta is offline
external usenet poster
 
Posts: 7
Default Mail Merge with SQL 2000

wHATEVER i TRY, i AM GETTING THE iNVALID CHARACTER STRING... Any more clues


"Graham Mayor" wrote:

In that case you haven't entered it correctly.
There are two sets of field brackets each inserted with CTRL+F9 to produce

{ = { MERGEFIELD [fieldname] } * 1 \# "$,0.00" }

[fieldname] is replaced by the actual fieldname of the errant field from
your data source. The rest is typed exactly as it appears above.

--

Graham Mayor - Word MVP

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




Paresh Gupta wrote:
I keep getting
Invalid Character string.......

"Graham Mayor" wrote:

Use CTRL+F9 for the brackets and type the rest.

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
How to add this field within field.....

Thanks

"Doug Robbins - Word MVP" wrote:

Try using { = { MERGEFIELD [fieldname] } * 1 \# "$,0.00" }


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

"Paresh Gupta" wrote in
message ...
Yes, I update the field after adding the switch. The '.' is my
Regional Decimal seperator. If I look at the record in SQL the
data is like 1232.0034
and this is exactly what shows up in Word.

"Graham Mayor" wrote:

Did you update the field after adding the switch?
{Mergefield Fieldname \# ",0.00" }
Is '.' your regional decimal separator?
What *exactly* does {Mergefield Fieldname} produce?

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
I am doing a Mail merge document with SQL 2000 as my data
source. There are some Money fields which are coming on the
Mail merge document, but whatever I do, they come with 4
decimal places. I have tried the Numeric Switches \# #0.00, but
to no avail. Version of Word is 2003

Please help




  #10   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Mail Merge with SQL 2000

Send me your document and a small sample of data to the link on my web site
home page

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
wHATEVER i TRY, i AM GETTING THE iNVALID CHARACTER STRING... Any more
clues


"Graham Mayor" wrote:

In that case you haven't entered it correctly.
There are two sets of field brackets each inserted with CTRL+F9 to
produce

{ = { MERGEFIELD [fieldname] } * 1 \# "$,0.00" }

[fieldname] is replaced by the actual fieldname of the errant field
from your data source. The rest is typed exactly as it appears above.

--

Graham Mayor - Word MVP

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




Paresh Gupta wrote:
I keep getting
Invalid Character string.......

"Graham Mayor" wrote:

Use CTRL+F9 for the brackets and type the rest.

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
How to add this field within field.....

Thanks

"Doug Robbins - Word MVP" wrote:

Try using { = { MERGEFIELD [fieldname] } * 1 \# "$,0.00" }


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

"Paresh Gupta" wrote in
message
...
Yes, I update the field after adding the switch. The '.' is my
Regional Decimal seperator. If I look at the record in SQL the
data is like 1232.0034
and this is exactly what shows up in Word.

"Graham Mayor" wrote:

Did you update the field after adding the switch?
{Mergefield Fieldname \# ",0.00" }
Is '.' your regional decimal separator?
What *exactly* does {Mergefield Fieldname} produce?

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
I am doing a Mail merge document with SQL 2000 as my data
source. There are some Money fields which are coming on the
Mail merge document, but whatever I do, they come with 4
decimal places. I have tried the Numeric Switches \# #0.00,
but to no avail. Version of Word is 2003

Please help





  #11   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Paresh Gupta Paresh Gupta is offline
external usenet poster
 
Posts: 7
Default Mail Merge with SQL 2000

What I have done is sent you a mail with a ZIP file called MERGE.ZIP. This
contains 3 files as follows

MERGE.SQL : The sql script to create a sample table and insert data into it
in SQL 2000
MERGE_MAIN.DOC: The main mail merge document which just puts the 2 fields
from the table created above
MERGED.DOC: The final Merged document.

I am sending you a mail from the link on your website.

Thanks

"Graham Mayor" wrote:

Send me your document and a small sample of data to the link on my web site
home page

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
wHATEVER i TRY, i AM GETTING THE iNVALID CHARACTER STRING... Any more
clues


"Graham Mayor" wrote:

In that case you haven't entered it correctly.
There are two sets of field brackets each inserted with CTRL+F9 to
produce

{ = { MERGEFIELD [fieldname] } * 1 \# "$,0.00" }

[fieldname] is replaced by the actual fieldname of the errant field
from your data source. The rest is typed exactly as it appears above.

--

Graham Mayor - Word MVP

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




Paresh Gupta wrote:
I keep getting
Invalid Character string.......

"Graham Mayor" wrote:

Use CTRL+F9 for the brackets and type the rest.

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
How to add this field within field.....

Thanks

"Doug Robbins - Word MVP" wrote:

Try using { = { MERGEFIELD [fieldname] } * 1 \# "$,0.00" }


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

"Paresh Gupta" wrote in
message
...
Yes, I update the field after adding the switch. The '.' is my
Regional Decimal seperator. If I look at the record in SQL the
data is like 1232.0034
and this is exactly what shows up in Word.

"Graham Mayor" wrote:

Did you update the field after adding the switch?
{Mergefield Fieldname \# ",0.00" }
Is '.' your regional decimal separator?
What *exactly* does {Mergefield Fieldname} produce?

--

Graham Mayor - Word MVP

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



Paresh Gupta wrote:
I am doing a Mail merge document with SQL 2000 as my data
source. There are some Money fields which are coming on the
Mail merge document, but whatever I do, they come with 4
decimal places. I have tried the Numeric Switches \# #0.00,
but to no avail. Version of Word is 2003

Please help




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
E-mail as output Word 2000 Mail merge Chartsmalm Mailmerge 1 August 28th 07 07:02 PM
Advantage of Mail Merge 2003 over Mail Merge 2000 Jamie Nebr Mailmerge 1 June 20th 06 07:12 PM
Word 2000 mail merge documents won't save Access 2000 data source Andy C Mailmerge 1 May 17th 06 08:39 AM
Mail merge to e-mail in word 2000? Sandyx Mailmerge 2 March 23rd 06 07:46 AM
mail merge - Access 2000 and Word 2000 DawnMKA Mailmerge 1 March 26th 05 11:20 AM


All times are GMT +1. The time now is 01:28 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"