I have a form "Estimate_Item". On it, I have three cascading combo boxes. I have text boxes on top of them so that I can make the whole thing work on a continuous form. It is code I found and works brilliantly. I choose a Fitting Category, which prefills the next combo box with relevant Sub Categories. Selecting one of those prefills the next combo box with the relevant fittings.
Ace!
HOWEVER! When I place this form as a subform into my form "Estimate" I get the following
Enter Parameter Value
Forms!Estimate_Item!cboFittingCategoryID
When I clear that I get
Enter Parameter Value
Forms!Estimate_Item!cboFittingCategorySubID
I am using the following On Current event in the subform (which works fine when not a subform)
Me.cboFittingCategoryID.Requery
Me.CboFittingCategorySubID.Requery
Me.cboFittingID.Requery
For reference, the After Update events on the Combo boxes don't work either when in a SubForm. An example is below
Private Sub cboFittingCategoryID_AfterUpdate()
Me.FittingCategorySubID = 0
Me.CboFittingCategorySubID.Requery
End Sub
All help appreciated
Ace!
HOWEVER! When I place this form as a subform into my form "Estimate" I get the following
Enter Parameter Value
Forms!Estimate_Item!cboFittingCategoryID
When I clear that I get
Enter Parameter Value
Forms!Estimate_Item!cboFittingCategorySubID
I am using the following On Current event in the subform (which works fine when not a subform)
Me.cboFittingCategoryID.Requery
Me.CboFittingCategorySubID.Requery
Me.cboFittingID.Requery
For reference, the After Update events on the Combo boxes don't work either when in a SubForm. An example is below
Private Sub cboFittingCategoryID_AfterUpdate()
Me.FittingCategorySubID = 0
Me.CboFittingCategorySubID.Requery
End Sub
All help appreciated