vangogh228
Registered User.
- Local time
- Today, 16:11
- Joined
- Apr 19, 2002
- Messages
- 302
I have a form (based on a table) named ClientData which contains a subform (based on a table) named ClientServices. In the subform, I have a combo control box called Department and one called Services. I have set the combo boxes so that the Services shown are dependent on the Department chosen.
It works fine when I go directly to the subform and test the operation, but when I try it within the subform IN the main form, I get a parameter dialog box error: As I make an entry from the dropdown of the Department field, the dalog box comes up, asking for "Forms!ClientServices" above the dialog's text box.
My After Update code in the Department field is
"Private Sub Department_AfterUpdate()
Me.[Services].Requery
End Sub
Is the problem the fact that I have the cascading combos in a subform instead of in a main form?
I really would like this to work. Help? THANKS!!
It works fine when I go directly to the subform and test the operation, but when I try it within the subform IN the main form, I get a parameter dialog box error: As I make an entry from the dropdown of the Department field, the dalog box comes up, asking for "Forms!ClientServices" above the dialog's text box.
My After Update code in the Department field is
"Private Sub Department_AfterUpdate()
Me.[Services].Requery
End Sub
Is the problem the fact that I have the cascading combos in a subform instead of in a main form?
I really would like this to work. Help? THANKS!!