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 / April 2008

Tip: Looking for answers? Try searching our database.

selecting item on form to display form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ken - 30 Apr 2008 16:35 GMT
What would the best way be to select one item, from several lists of items.
Sorry thats the best way I could say it.
I have 8 categories of items, with say 50 items each.  Each item would
provide the information, when selected to populate another form.

I set up 8 different list boxes on the main form, and then not sure if this
is best way to a solution for this.

For one thing, to start someone could select one item on each list box, then
what?

If you could just give me a basic idea, and or design route, I would
appreciate it.
Ken
Marshall Barton - 30 Apr 2008 18:11 GMT
>What would the best way be to select one item, from several lists of items.
>Sorry thats the best way I could say it.
[quoted text clipped - 3 lines]
>I set up 8 different list boxes on the main form, and then not sure if this
>is best way to a solution for this.

I normally use one combo box to select the category and a
second combo box to select the item.  The item combo box
would only display the items in the selected category by
setting its row source query to use the category combo box
as criteria.  I.e.  The query's category field's criteria
would be like  Forms!yourform.categorycombobox.

The category combo box;' AfterUpdate event and the form's
Current event would both use a line of code like:
    Me.itemcombobox.Requery
to synchronize the lists.

Signature

Marsh
MVP [MS Access]

 
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.