Avatar of Sivasan
Sivasan
Flag for United States of America

asked on 

Sum the all the above rows of a field on another field in access query

I have an access table with field ID, Item NoofHour this in sequence I like the keep summing the NoofHours
so table Order
id  Item  Hours
1    abc    5
2    ccc    10
3    yyy    2
4   kka     3

I want to make query so result are
id  Item  Hours   Totalhr
1    abc    5             5                
2    ccc    10           15                
3    yyy    2             17
4   kka     3             20

So add the above hours. I will appreciate if somebody can tell me how I can get  sum  of row above.
Thanks
Microsoft Access

Avatar of undefined
Last Comment
Gustav Brock

8/22/2022 - Mon