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 / July 2005

Tip: Looking for answers? Try searching our database.

Can you apply a filter to a list box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
michael_jacques - 29 Jul 2005 13:42 GMT
Hi

I am using a filter to find all the records where Project Type = Asbestos
Survey.  

However, iv made the field into a list box, as i understand that if somebody
incorrectly spelt Asbestos for example, it would not display in the form.

I therefore need to create a filter on a list box, is this possible, or are
there other solutions???

Any help is greatly appreciated.

Thanks, mike
Graham R Seach - 29 Jul 2005 14:09 GMT
Michael,

Just amend the ListBox's RowSource property. If it is currently set to the
name of a table, for argument's sake let's say tblMyTable, then change the
RowSource as follows:
   SELECT Field1, Field2 FROM tblMyTable WHERE Field3 = 123

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
(Currently in Japan)
---------------------------

> Hi
>
[quoted text clipped - 12 lines]
>
> Thanks, mike
 
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.