troubleshooting Question

cannot clear filter in subform

Avatar of Shawn
ShawnFlag for Canada asked on
Microsoft Access
13 Comments1 Solution350 ViewsLast Modified:
I can set a filter from a main form to the subform fine with this:

Me.sbfrmClientSearchCompany.Form.Filter = "[CompanyName] LIKE '*" & Me.search0 & "*' "
Me.sbfrmClientSearchCompany.Form.FilterOn = True

Now on another button I am trying to clear the filter and this isn't clearing it:
Me.sbfrmClientSearchCompany.Form.FilterOn = False

how can I clear the subform?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 13 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros