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

Getting Error message that I have never gotten before. 1

Status
Not open for further replies.

ezamon

Technical User
May 20, 2004
8
US
I built a query that was working, now I have been getting an error message "Scaling of Decimal value resulted in data truncation," and my data is not coming back. I am using an ODBC connection, and I am not formating the decimal place. I am summing a formula that takes the 12 months of the last year and divided by 12. I was wondering if anyone else got this before and if there is a fix for this.
Thanks for the help
[yinyang]
 
You probably need to convert one of your expressions explicitly to a double.

Try CDbl()...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top