I have a form which shows the records of the table below:
JobID Name Hours DueDate
1 AAA 10 June 6, 2004
2 BBB 50 July 6, 2004
3 CCC 100 April 20, 2004
4 AAA 20 May 30, 2004
5 BBB 40 Aug 30, 2004
The user can add and delete any records, my question is that after one of the record is deleted, the JobID does not update. Assume JobID is an autonumber/(or integer) just show the sequence of the jobs. When I deleted record 4, I wish the rest of the records will automatically reorder, which means 5 becomes 4 since 4 has been deleted.
How?
Thanks!
SwingXH
JobID Name Hours DueDate
1 AAA 10 June 6, 2004
2 BBB 50 July 6, 2004
3 CCC 100 April 20, 2004
4 AAA 20 May 30, 2004
5 BBB 40 Aug 30, 2004
The user can add and delete any records, my question is that after one of the record is deleted, the JobID does not update. Assume JobID is an autonumber/(or integer) just show the sequence of the jobs. When I deleted record 4, I wish the rest of the records will automatically reorder, which means 5 becomes 4 since 4 has been deleted.
How?
Thanks!
SwingXH