Results 1 to 3 of 3
  1. #1
    ds_8805 is offline Novice
    Windows XP Access 2002
    Join Date
    Jan 2010
    Posts
    27

    problem with combo box

    hey everyone. I have 2 combo boxes. One displays the product id and other displays the contracter id. I would like to design it in a way such that when the user first selects the product id, the contracter combo box would only display the contracters for that particular product id. I used a query for the combo box where the it would only display the contracter for the product id selected.

    Example data
    product id contracter id


    1111 aaa
    1111 bbb
    2222 ccc

    The thing is the it works perfectly fine but only for the first time. Thus as soon as the form with the two textbox opens and I select 1111 as the product id , both aaa and bbb is displayed in the contracter combo box which is correct. However, when I change it to 2222, it still displays aaa and bbb for the contracter combo box.

    Hope someone can advise me on what I might be doing wrong.

    Thanks!

  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,521
    A couple of methods here:

    http://www.baldyweb.com/CascadingCombo.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    ds_8805 is offline Novice
    Windows XP Access 2002
    Join Date
    Jan 2010
    Posts
    27
    Hey thanks for ur reply! I will take a look at it and try it!

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

Similar Threads

  1. combo box problem
    By ngeng4 in forum Forms
    Replies: 15
    Last Post: 03-23-2010, 09:03 PM
  2. Combo Box problem
    By Rick West in forum Forms
    Replies: 3
    Last Post: 03-18-2010, 04:42 PM
  3. Combo box look-up problem
    By Samdaman in forum Forms
    Replies: 0
    Last Post: 12-14-2009, 02:54 PM
  4. Cascading Combo Box Problem
    By skiptotheend in forum Forms
    Replies: 2
    Last Post: 10-26-2009, 05:31 AM
  5. Problem with combo box
    By osimini in forum Forms
    Replies: 5
    Last Post: 05-25-2009, 03:08 PM

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