Click here to Skip to main content
15,886,736 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I wanto to printf sum of a row of a database..I used the function sum

What I have tried:

I tried to modifie my code but result is always the same, I doon't understand where is the error
Posted
Updated 13-Oct-19 20:42pm
v3
Comments
Member 14594285 11-Oct-19 11:55am    
maybe I understood, in my data_scanner there is also hour, I want to remove hour..maybe it's the problem, with hour there are datas all different

You wont get around to figure it yourself out with the debugger. I guess it is some type mismatching which later is resulting in your mysterious data. Or maybe you are repareating calling MoveFirst. :-O

Set up some clear and undersandalbe test data to prove parts of your code.
 
Share this answer
 
I found solution, I used data without hour
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900