Hi everybody,
I'm new here and please forgive me if something similar has been answered previously.
Basically, I have 2 tables (Student and Employee), and a main form containing a sub form as well. I have a combo box in the main form as well as the sub form and what I am trying to do is have the subform's combobox update given a selection has been made in the main combo box.
For example:
Main Form: "frmMain" contains a label 'EmployerID' that gets assigned when a value from combo box 'comboEmployerID' is selected.
frmMain also contains a sub form named 'frmSubForm' which has a combo box named 'comboStudent' that queries for students who have an EmployerID of the selected value of 'comboEmployerID' (or simply EmployerID's label value).
The problem I am having is once I select a 'EmployerID' (the first time works fine by the way, but after that), the options in 'comboStudent' aren't refreshing. I have tried playing around with the AfterUpdate function of 'comboEmployerID' but haven't had any luck. I'm assuming it is something simple, however it is driving me crazy. Hopefully my explanation is clear.
- Mike