BBlu
asked on
Converting number to 2-digit in MS Query
I am working on an MS Query and have the following code:
SELECT TempTable.Category, Sum(TempTable.`Dec 31, 09`), Sum(TempTable.`Dec 31, 10`), Sum(TempTable.`Jul 31, 11`)
FROM TempTable TempTable
WHERE (TempTable.Category<>'')
GROUP BY TempTable.Category
It produces what I expected and hoped for except for the extra long numbers. Can someone tell me how to convert the number to 2 decimal places with commas as thousands separators?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Never mind..it looks like II need to make 'currency' single quotes.. that worked.
ASKER
Thank you both very much!
ASKER