I'm trying to run an update query to update a table field.
I need to look at each record (sorted by date - ascending) xx/xx/xxxx - Job# - Hours
The current record is 02/07/2007 - Job# (12345)- Hours (25), if the previous record 01/28/2007 has the same job# (12345) - Hours (17), then I want to subtract the the hours difference and place it in a field called HrsInc (25 - 17)= 8.
Does anyone have any suggestions. Am I better off trying to update a table or run a query?
Thanks for any help or guidance.
Thanks for the help.
Greg
I need to look at each record (sorted by date - ascending) xx/xx/xxxx - Job# - Hours
The current record is 02/07/2007 - Job# (12345)- Hours (25), if the previous record 01/28/2007 has the same job# (12345) - Hours (17), then I want to subtract the the hours difference and place it in a field called HrsInc (25 - 17)= 8.
Does anyone have any suggestions. Am I better off trying to update a table or run a query?
Thanks for any help or guidance.
Thanks for the help.
Greg