Windows  |  Free Downloads

 

 

 

Change Format of Query Data in Microsoft Access

When you run a query, it could return text when  you really wanted a date or some other number format.

All you need to do is surround the query expression with the Format function. Here, we are stringing together the contents of field aaa and bbb, perhaps to create an account number.

Other examples:

  • Combine area code and phone number fields into one by: =FORMAT([aaa]&[bbb],"000-000-0000)

  • Add two values and ensure you get 2 decimals: =FORMAT([aaa]+[bbb],"0.00")

OfficeArtilces.com debuted on May 26, 2005.

MrExcel.com provides examples of Formulas, Functions and Visual Basic procedures for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Formulas, Functions and Visual Basic procedures on this web site are provided "as is" and we do not guarantee that they can be used in all situations.

Access®, Excel®, FrontPage®, Outlook®, PowerPoint®, Word® are registered trademarks of the Microsoft Corporation.
MrExcel® TM is a registered trademark of Tickling Keys, Inc.

All contents © 1998-2014 by MrExcel Consulting | All rights reserved

privacy policy