Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / November 2004

Tip: Looking for answers? Try searching our database.

apply filter via combo box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Themis Parintas ste kardias - 04 Nov 2004 09:09 GMT
How can i apply a filter on a form on a field with text  when i select from
a combo box
Bruno Campanini - 04 Nov 2004 16:28 GMT
> How can i apply a filter on a form on a field with text  when i select
> from
> a combo box

DoCmd.ApplyFilter, "[FieldInForm]='" & [ComboField] & "'"

Ciao
Bruno
Bob Quintal - 05 Nov 2004 01:22 GMT
>> How can i apply a filter on a form on a field with text  when
>> i select from
[quoted text clipped - 4 lines]
> Ciao
> Bruno

You can also
me.filter= "[FieldInForm] = '" & [comboField] & "'"
me.filterOn = true

I've found that sometimes the DoCmd version doesn't work.  

Signature

Bob Quintal

PA is y I've altered my email address.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.