Results 1 to 2 of 2
  1. #1
    roshani007 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    2

    Urgent: How to use a combo box to filter a table

    Hello Everyone,
    I am back with another question about Access 2010.
    I would like to filter a table by using a como box.
    I researched on internet a found a few solutions which did not work for me.

    I have several columns in the table, and I would like to filter them by their departments (there are several users in each department)

    I have tried using the combo box wizard and select " I would like to search records based on the values in combo box" but the problem is that the department shows up as many times as it is in that table.

    I came across another solution which was to create an unbound combo box and link it with the query. and the department criteria would be the following:
    [Form]![NameOfTheForm]![NameOfTheCombobox]
    but it did not work either.




    Please help me with this. I have this project due on thursday and this is one to the last things I need to complete. Any help will be appreciated.

    Thank you so much in advance.

    Roshni

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    I would expect the second to work but there's an "s":

    [Forms]![NameOfTheForm]![NameOfTheCombobox]
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Table Query Problem URGENT
    By pankajinfo in forum Access
    Replies: 18
    Last Post: 04-02-2014, 11:05 AM
  2. Replies: 8
    Last Post: 08-11-2013, 07:24 PM
  3. Urgent! Three Cascading Combo Boxes.....
    By birth19 in forum Forms
    Replies: 1
    Last Post: 07-10-2012, 04:10 PM
  4. Replies: 28
    Last Post: 03-08-2012, 06:47 PM
  5. Combo box prob - little urgent
    By pratim09 in forum Forms
    Replies: 2
    Last Post: 08-29-2011, 03:38 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