G
Guest
For example I have this table :
No. Type Date Amount
2 a 03/03 120
5 b 10/03 130
3 c 12/03 133
And I want the result of my query to be like:
No. Type Date SumOfAmount
2 a 03/03 120
3 c 12/03 253 ----> ( 120 + 133 )
5 b 10/03 383 ----> ( 253 + 130 )
That’s mean I want it ordered by No. and balance should be the amount of the
current record + sum of the previews record(s)
Hope its clear
So how can I make it?!
Any thoughts or suggestions would be much appreciated.
Thanks in advance
No. Type Date Amount
2 a 03/03 120
5 b 10/03 130
3 c 12/03 133
And I want the result of my query to be like:
No. Type Date SumOfAmount
2 a 03/03 120
3 c 12/03 253 ----> ( 120 + 133 )
5 b 10/03 383 ----> ( 253 + 130 )
That’s mean I want it ordered by No. and balance should be the amount of the
current record + sum of the previews record(s)
Hope its clear
So how can I make it?!
Any thoughts or suggestions would be much appreciated.
Thanks in advance