What I am trying to do is I am working on a small project to keep track of employees time.
I have two tables one for employee information and another for saving the times worked.
I'm trying to get the employees first name, last name, from table a into fields for saving with in and out times into table b.
I want to be able to have them enter their ID number, and have it populate the above fields automatically so they can be saved into an entry in table b.
I am currently experimenting with using a combobox at the moment but what i want is to use a text field because I will have a barcode scanner where the ID will be scanned and then afterwards I want it to populate those fields and then from there the time/date is saved into an entry with the information.
Below is what i have going using the combo and filling the name based on it. but as i said earlier I would like to use the scanner instead.
Code:
EID.SetFocus
EID.Text = Combo21.Column(0)
First_Name.SetFocus
First_Name.Text = Combo21.Column(1)
Middle_Name.SetFocus
Middle_Name.Text = Combo21.Column(2)
Last_Name.SetFocus
Last_Name.Text = Combo21.Column(3)