Ulsterman2
Programmer
Hi
I'm looking to find the diffence between sequential records in a query, and show that difference as a field in the query.
e.g.
Shift Total to date Total for shift
1 1000 1000
2 1500 500
3 2100 600
6 5000 3900
The field I require is "Total for Shift" which takes the "Total to Date" value in the record and subtracts the same value in the previous record from it.
Thanks
I'm looking to find the diffence between sequential records in a query, and show that difference as a field in the query.
e.g.
Shift Total to date Total for shift
1 1000 1000
2 1500 500
3 2100 600
6 5000 3900
The field I require is "Total for Shift" which takes the "Total to Date" value in the record and subtracts the same value in the previous record from it.
Thanks