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 / Forms Programming / November 2006

Tip: Looking for answers? Try searching our database.

filter list  box with a combo box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gary Hull - 25 Nov 2006 16:00 GMT
I have a form with a combo Box in the main form that selects a record

In the sub form I have a list box that selects a record on the sub form

What I need to do is to have the list box to be filtered according what is

selected with the combo box on the main form
Arvin Meyer [MVP] - 25 Nov 2006 16:36 GMT
In the AfterUpdate event of the combo on the main form requery the list box:

Me.SubformControlName.Form.Requery

Set the criteria of the list box to:

[Forms]![MainFormName]![ComboBoxName]
Signature

Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

>I have a form with a combo Box in the main form that selects a record
>
[quoted text clipped - 3 lines]
>
> selected with the combo box on the main form
 
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.