G
Guest
I have a table "Student" containing student info like ID, names and
addresses. I also have a table "Student Record" which keeps track of grades
and other info.
I created a form for people to input the info into the table "Student
Record". On the form I have a field for Student ID and Student Name. I have
set up the Student ID field as a combo box so that people can choose the ID.
What I like to do is I want the Student Name field automatically populates
after people select a Student ID from the combo box or after people type in
the Student ID from the combo box.
I also would like to have people to select or type in multiple times in the
combo box and the Student Name field would still automatically populate. And
the Student Name that just automatically populates will be populate in the
Student Record table.
I have tried "DLookup" in the Control Source of the Student Name field. It
does populate automatically when I select the ID from the combo box for first
time. When I type in or select more than once, it would not populate it.
Also it would not populate the name in the Student Record table.
Thanks.
addresses. I also have a table "Student Record" which keeps track of grades
and other info.
I created a form for people to input the info into the table "Student
Record". On the form I have a field for Student ID and Student Name. I have
set up the Student ID field as a combo box so that people can choose the ID.
What I like to do is I want the Student Name field automatically populates
after people select a Student ID from the combo box or after people type in
the Student ID from the combo box.
I also would like to have people to select or type in multiple times in the
combo box and the Student Name field would still automatically populate. And
the Student Name that just automatically populates will be populate in the
Student Record table.
I have tried "DLookup" in the Control Source of the Student Name field. It
does populate automatically when I select the ID from the combo box for first
time. When I type in or select more than once, it would not populate it.
Also it would not populate the name in the Student Record table.
Thanks.