Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access 97 Queries

Status
Not open for further replies.

crv

Technical User
Apr 23, 2002
4
0
0
US
I am running a querie with a calculation, which will give me a currency format, how do I indicate in my querie to change the decimal spaces from 2 to 4?
 
You can use something like this:

SELECT Format([tblYourTable]![MoneyDataField],"$#,##0.00") AS [MoneyField]
FROM tblYourTable;

This will format the field into whatever format you put in the statement. Here I have forced it to show 2 digits to the right of the decimal and one to the left and also included commas where appropriate and a dollar sign.

The table name and field name will have to be modified to reflect your situation.
Bob Scriver
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top