how do i apply a filter to a subform

smoke

Registered User.
Local time
Today, 00:18
Joined
Sep 2, 2004
Messages
18
hi i have this subform that's shown as a table inside my main form, i was wondering how i would have a combo box on the main form that applied a filter according to the user's selection and applied it to the subform. thanks

as of right now im using

private sub frmwhsegroup_afterupdate()
me.filter = "tblinvpn =" &me.frmwhsegroup
me.filteron = true
end sub

i know its somethign to do with pointing the tblinvpn object to the subform, but i've tried several time with differnt syntax, and i still can't get it to work,could someone help me out? appreciate the help, thanks.
 
Last edited:

Users who are viewing this thread

Back
Top Bottom