P
Pat
I am creating an employee timesheet database which keeps track of
benefit time. I subtract the hours used from the current vacation
balance to get a new current vacation balance. I can't figure out how
to make the new vacation balance replace the current vacation
balance. For example: Jan. 1, 2007 I had 20 vacation hours. On Jan.
5th, I used 8 hours. This makes my current vacation balance 12. On
Feb. 5, I used 8 hours which now makes my balance 4. This number, 4,
should automatically become the new vacation balance.
I tried the update query but it kept changing all records to the new
balance. I want the current balance to automatically be updated each
time hours have been subtracted from the balance.
benefit time. I subtract the hours used from the current vacation
balance to get a new current vacation balance. I can't figure out how
to make the new vacation balance replace the current vacation
balance. For example: Jan. 1, 2007 I had 20 vacation hours. On Jan.
5th, I used 8 hours. This makes my current vacation balance 12. On
Feb. 5, I used 8 hours which now makes my balance 4. This number, 4,
should automatically become the new vacation balance.
I tried the update query but it kept changing all records to the new
balance. I want the current balance to automatically be updated each
time hours have been subtracted from the balance.