Results 1 to 2 of 2
  1. #1
    bkrjeh@twcny.rr.com is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2013
    Posts
    2

    Newbie, need help on creating a list box embedded on a form that is filter-able by picking a select

    Newbie, need help on creating a list box embedded on a form that is filter-able by picking one of three items from a drop down list on same form

    I have a table that has a has multiple items in it with three possible selection by logic yes/no check boxes

    I want to have the list box on the form populate when you select either item 1, returns only items that are check with yes on box(column 1)
    when you select item 2 , it returns only items that are checked yes on box (column 2)
    etc for item 3



    any ideas ?

  2. #2
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    First, take a look a this in case you want to change your approach http://allenbrowne.com/casu-23.html

    Otherwise, make a query for the listobx that works if you write in each of the combo box values and test each. Once that's working, change the critera to reference the form combo (=Forms!frmFormName.ComboBox). Open the form, make a combo selection and run the query manually to see if you got that reference correct. If the query returns records for the combo selection as you expect, on the combo box After_Update event, make the listbox rowsource = that query and make the next statement requery the listbox.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 15
    Last Post: 11-20-2013, 04:30 PM
  2. Replies: 19
    Last Post: 04-23-2013, 05:45 PM
  3. Replies: 6
    Last Post: 10-13-2012, 08:32 PM
  4. Replies: 6
    Last Post: 08-15-2012, 04:05 PM
  5. Replies: 1
    Last Post: 03-01-2009, 09:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums