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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

too many decimal places in crosstab query results

Status
Not open for further replies.

lshippee

Technical User
Jul 19, 2000
36
US
I've done a crosstab query to present the averages of numeric responses to a survey.&nbsp;&nbsp;Though the decimal places property for the field being used for averaging is set to 2 in the table, the query results show up with many additional places in the crosstab.&nbsp;&nbsp;The field property was originally set to auto -- I changed it after viewing the results in the crosstab.<br><br>Do I need to recreate either the crosstab or the select query upon which it is based or is there some other way to adjust these results so they consistently show 2 decimal places?
 
I have had the same problem, ie query calculations returning too many decimal places. What worked for me was to us Format([MyField]]&quot;0.0000&quot;)or Format (Calcalcuation)&quot;0.0&quot;. Placing as many zeros as you need after the decimal point. Hope that works for you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top