[mso] Re: Excel & Access Text vs Numeric

  • From: "Ray Blake" <ray@xxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Mon, 1 Nov 2004 21:50:06 -0000

Glenda,

Since you seeem to be talking about a text field, this one may also be
relevant. For the picture you're loooking for, try "00.00".

Ray

------------------------------------
GR Business Process Solutions
Ray Blake
Head of Software Design
ray@xxxxxxxxx
Braedon
Newell Road
Hemel Hempstead
Herts HP3 9PD
tel: 01442 396518
fax: 01442 389353
mobile: 07834 226601
------------------------------------


-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
Behalf Of Glenda Wells
Sent: 15 December 2003 18:23
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Access - Text Field


THAT WORKED!  THANKS RAY!  (me jumping up and down, clapping hands...the
boss is starting to worry).  :)  :)  :)  :)  :)  /g



-----Original Message-----

From: Ray Blake [mailto:ray@xxxxxxxxx]

Sent: Monday, December 15, 2003 01:12 PM

To: mso@xxxxxxxxxxxxx

Subject: [mso] Re: Access - Text Field





Glenda,



Here's the formula you need in your query:



        NumAsText: CStr(Format([Number],"0.000"))



Replace [Number] with the name of your numeric field. This will work as
a Select query, or as an Append or MakeTable if you prefer.



The 'Format' function forces the three decimal places, and then the
'CStr' function converts the result into a string.



Don't you love Access?



Ray



*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: