Results 1 to 3 of 3
  1. #1
    Chatholo is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    34

    cascading Combo boxes

    I need to link the combo boxes Category/Activity and then Country/Business. I have been trying for a while and followed all tutorials but there is something that I am missing and I am not sure what.

    Can anyone assist me, I have attached a simplified version of my DB.


    The form is an entry for my table NPCosts.

    Thanks!
    C.
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,892
    cboCategory
    RowSource: SELECT DISTINCT Category FROM tblActivity ORDER BY Category;
    AfterUpdate event: [Event Procedure]
    VBA code: Me.cboActivity.Requery

    cboActivity
    RowSource: SELECT Activity FROM tblActivity WHERE Category = [cboCategory] ORDER BY Activity;

    cboCountry
    RowSource: SELECT DISTINCT Market FROM tblCountry_Business ORDER BY Market;
    AfterUpdate event: [Event Procedure]
    VBA code: Me.cboBusiness.Requery

    cboBusiness
    RowSource: SELECT Business FROM tblCountry_Business WHERE Market = [cboCountry] ORDER BY Business;
    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.

  3. #3
    Chatholo is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    34
    Once again June7 THANK YOU!! It works perfectly and I now understand how to do it now. yeah!

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

Similar Threads

  1. Cascading Combo boxes
    By finsmith in forum Forms
    Replies: 10
    Last Post: 02-12-2013, 09:37 AM
  2. Sum of Cascading Combo Boxes
    By alonewolf23 in forum Forms
    Replies: 2
    Last Post: 11-20-2011, 02:10 PM
  3. Cascading combo boxes
    By combine21 in forum Forms
    Replies: 3
    Last Post: 12-02-2010, 12:57 PM
  4. Cascading Combo Boxes
    By desireemm1 in forum Programming
    Replies: 1
    Last Post: 10-05-2009, 06:00 AM
  5. Cascading Combo Boxes
    By gjw1012 in forum Access
    Replies: 1
    Last Post: 07-25-2009, 04:59 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