Results 1 to 2 of 2
  1. #1
    zool is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Location
    Miri
    Posts
    21

    Question Filter using Multiple/Multi-Column List Box

    Hi, i'm not familiar with listbox yet and i want to filter my form using it.
    I have two separate listboxes which display "category" & "type" data from the same table.

    Here is the situation i wanted for my listbox.
    1. Select one data from "category" listbox.
    2. Then it will automatically filter data from "type" listbox or it will list all related "type" data corresponding to "category" data.


    3. Then select one data from "type" listbox and it will filter all related data on the form/sub-form.

    Is it possible to do that way?
    Can i do it on multicolumn listbox instead of using 2 listbox?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,898
    Yes to all.

    Review
    http://datapigtechnologies.com/flash...combobox2.html
    http://datapigtechnologies.com/flash...tomfilter.html

    If you want only one listbox instead of dependent combo/list boxes, need to reference the column index in the query criteria. Column index begins with 0. So column 1 is index 0.

    Forms!formname!listbox.Column(1)
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 6
    Last Post: 08-15-2012, 04:05 PM
  2. searching 2nd column in multi-column listbox?
    By RedGoneWILD in forum Programming
    Replies: 6
    Last Post: 07-07-2012, 09:21 PM
  3. Using Multi-column look-up tables
    By Reh in forum Database Design
    Replies: 4
    Last Post: 07-30-2011, 01:50 PM
  4. Multi-Filter Query
    By jgelpi16 in forum Queries
    Replies: 3
    Last Post: 12-03-2010, 11:08 AM
  5. Replies: 1
    Last Post: 03-01-2009, 09:53 AM

Tags for this Thread

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