G
Guest
i have a drop down box that lets a user choose from a list of classes. Once
the user selects from that list I want the Details section that lists all of
the test taken in that class to filter by whatever class was chosen from the
drop down.
When I use the following code the user is prompted for the value of
Me.Combo22 instead of it reading what the value stored in the Combo22 combo
drop down box is.
Private Sub Combo22_AfterUpdate()
Me.Filter = "ClassID = Me.Combo22"
Me.FilterOn = True
End Sub
i've tried entering in Combo22 a number of different ways but it never
works. i even tried using a dim statment and setting a seperate variable
equal to the value of combo22 and then using that variable as part of the
filter statment.
Any help or suggestions would be appreciated.
the user selects from that list I want the Details section that lists all of
the test taken in that class to filter by whatever class was chosen from the
drop down.
When I use the following code the user is prompted for the value of
Me.Combo22 instead of it reading what the value stored in the Combo22 combo
drop down box is.
Private Sub Combo22_AfterUpdate()
Me.Filter = "ClassID = Me.Combo22"
Me.FilterOn = True
End Sub
i've tried entering in Combo22 a number of different ways but it never
works. i even tried using a dim statment and setting a seperate variable
equal to the value of combo22 and then using that variable as part of the
filter statment.
Any help or suggestions would be appreciated.