Hi,
I have a query that calculates some sort of running_total and also another field with completed_tasks.
I need to create on the fly an addional field that substracts Completed_tasks in the NEXT record from the New_created_field of the current record. however, The first record in the new column always equals the running_total so I have a starting point.
Please sample data below:
Date running_total completed_tasks New_field
---- ------------- ---------------- ----------
9/2 367 5 367 = running
9/3 364 12 355 (367-12)
9/4 346 2 353 (355-2)
9/5 341 6 347 (353-6)
I have a query that calculates some sort of running_total and also another field with completed_tasks.
I need to create on the fly an addional field that substracts Completed_tasks in the NEXT record from the New_created_field of the current record. however, The first record in the new column always equals the running_total so I have a starting point.
Please sample data below:
Date running_total completed_tasks New_field
---- ------------- ---------------- ----------
9/2 367 5 367 = running
9/3 364 12 355 (367-12)
9/4 346 2 353 (355-2)
9/5 341 6 347 (353-6)