Sum returns Zero only

mboe

Registered User.
Local time
Today, 17:25
Joined
Dec 27, 2000
Messages
51
I have a table made up of imported data with a couple currency fields. I am only having problems with one field. It will show up in a query but if I do a sum on the field it returns zero. I checked the type and it imports as a decimal. One of the other currency fields I imported is formated as long integer. I tried changing the format but it still won't sum.

Is formating the problem or is it something else?

...I must not be thinking straight today!
 
Are there Null values in that field?
 
I figured it out. I was right, I just wasn't thinking straight yesterday. The table had some records it shouldn't have had and they made the balance come out to zero. Never underestimated the value of a good nights sleep!!
 

Users who are viewing this thread

Back
Top Bottom