[mso] Re: Fixed-format fields in MS Access

  • From: Cathy.Evans@xxxxxxxxx
  • To: mso@xxxxxxxxxxxxx
  • Date: Wed, 29 Nov 2006 00:49:43 -0500

You would place it in the query design grid, give it a meaningful name.  It
would look something like this.

FormattedNumber:CStr(Format([fieldname],"00")

The link I sent gave other formats, for example, if you wanted currency at
a special decimal position, you would say:

NewName:Ccur(Format([fieldname],"0.000")), which would give you 3 decimal
places, you can set that at anything.

You can also use some words (I do not know them all), such as:

AnotherFormat:CStr(Format([fieldname],"Medium Date") or AnotherFormat:
CStr(Format([fieldname],"Currency")

Hope this helps.


                                                                                
                                             
                       Pruscoe@xxxxxxx                                          
                                             
                       Sent by:                                                 
                                             
                       mso-bounce@freelists.                                    
                                          To 
                       org                           mso@xxxxxxxxxxxxx          
                                             
                       11/28/2006 07:07 PM                                      
                                          cc 
                       Please respond to mso                                    
                                             
                                                                                
                                     Subject 
                                                     [mso] Re: Fixed-format 
fields in MS Access                              
                                                                                
                                             
                                                                                
                                             
                                                                                
                                             
                                                                                
                                             
                                                                                
                                             
                                                                                
                                             
                                                                                
                                             




Ooh - thanks for the reference. When you refer to the format, where do I
use
that? In the object properties, it seems to be a drop-down list. I didn't
try it, but is it a combo box?

*************************************************************
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, visit the group's homepage and use the
dropdown menu at the top.  This will allow you to unsubscribe your email
address or change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

If you are using Outlook and you see a lot of unnecessary code in your
email messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************




-----------------------------------------------------------------------------------------------------
The information transmitted is intended only for the person
or entity to which it is addressed and may contain proprietary,  
business-confidential and/or privileged material.
If you are not the intended recipient of this message you 
are hereby notified that any use, review, retransmission, 
dissemination, distribution, reproduction or any action taken
in reliance upon this message is prohibited. If you received
this in error, please contact the sender and delete the 
material from any computer.  Any views expressed in this message
are those of the individual sender and may not necessarily reflect 
the views of the company.  
-------------------------------------------------------------------------------------------------------

*************************************************************
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, visit the group's homepage and use the dropdown 
menu at the top.  This will allow you to unsubscribe your email address or 
change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

If you are using Outlook and you see a lot of unnecessary code in your email 
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************

Other related posts: