I've got a form set up that has a series of textboxes to enter employee info, with a listbox at the bottom listing all the employees with their title (to make it easier to find employees to edit information).
I'm having a problem though - if I click around on the listbox to view some employee records, then want to add a new employee, when I click on the add record button it edits the last employee I looked at with the new information. I've added a clear form box, to clear all the textboxes, so that the user can enter info, but it still places the new record over an existing record (the last record looked at with the list box).
Is there a way for me to clear the listindex value (or reset the listbox all together) so that when I enter new info, and click add employee it doesn't overwrite the old employee?
I'm having a problem though - if I click around on the listbox to view some employee records, then want to add a new employee, when I click on the add record button it edits the last employee I looked at with the new information. I've added a clear form box, to clear all the textboxes, so that the user can enter info, but it still places the new record over an existing record (the last record looked at with the list box).
Is there a way for me to clear the listindex value (or reset the listbox all together) so that when I enter new info, and click add employee it doesn't overwrite the old employee?
Comment