I have a single record form with a combo box to update a field.
The form contains a sub-form with a solitary combo box to be able to select a sub-group of the combo box on the main form.
I have the following code in the row source of the subform:
When I change the combo box on the main form the combo list on the subform doesn't refresh? I have tried the following code in the AfterUpdate event of the first combo but it just says it can't find the form?
Any help on this would be great?
The form contains a sub-form with a solitary combo box to be able to select a sub-group of the combo box on the main form.
I have the following code in the row source of the subform:
Code:
SELECT [Class Times].[Class ID], [Class Times].Class FROM Members LEFT JOIN [Class Times] ON Members.Class = [Class Times].Class WHERE ((([Class Times].Class)=[Forms]![Form - Current Members]![Class]));
Code:
Private Sub Class_AfterUpdate()
Forms![Form - Class Register Subform]![Class ID].Requery
End Sub
Comment