I am running into a problem with a form with a List box that has and after update event.
The frmTraining System has a command button for ading records that opens a pop-up form with a new record entry. You enter the new record and click ok and that closes the form and does a requery on the list box to update the displayed list.
The problem is that the after update event process after adding the new entry doesn not select the correct event associated with the newly added record. Rather it defaults to the first record in the table so that if you added a record and the decided you wanted to immediately delete it...should you select the newly added record in the list box and click delete it actually is deleting the top record in the table rather then the newly entered record.
For all other records howveer it works fine..only the newly entered record seems to do this...if you close the form and reopen it it will then select the correct corresponding record.
The frmTraining System has a command button for ading records that opens a pop-up form with a new record entry. You enter the new record and click ok and that closes the form and does a requery on the list box to update the displayed list.
The problem is that the after update event process after adding the new entry doesn not select the correct event associated with the newly added record. Rather it defaults to the first record in the table so that if you added a record and the decided you wanted to immediately delete it...should you select the newly added record in the list box and click delete it actually is deleting the top record in the table rather then the newly entered record.
For all other records howveer it works fine..only the newly entered record seems to do this...if you close the form and reopen it it will then select the correct corresponding record.