Results 1 to 6 of 6
  1. #1
    ajh2014 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2014
    Posts
    18

    Cascading Combo - HELP!!!

    Master SS 3.zip

    I'm trying to build a cascading combo box on my frmCheck_In_Out. I want to be able to type in the Asset ID in the combo box and then have the next combo box, located between asset ID and Status ID, auto populate with the asset type. This database was built by ssnafu and myself. I've searched through the forums to find a function to do this, but everything I find utilizes lookups which I am avoiding at all costs. Thanks!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    Every time you pick a value in a combo, you should REQUERY the next combo , so it gets the new value

    cboAsset_afterupdate()
    cboBox2.requery
    end sub

    The query attached to cboBox2 should use cboAsset in its criteria.

  3. #3
    ajh2014 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2014
    Posts
    18
    What query should I make and how do I base it off the cboAsset?

  4. #4
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I'm kinda backed up, but I'll look at it as soon as I can...

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Need to know that cascading comboboxes with lookup alias in continuous or datasheet form won't work nice.
    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.

  6. #6
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    cboAssets.recordsource = qsAssets

    cboStatus .recordsource = qsStatus1Asset

    qry : qsStatus1Asset has the criteria looking at the form
    [asset] = forms!frmEntry!cboAssets


    you then requery the combo everytime the cboAsset value changes to get new listing.

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

Similar Threads

  1. Cascading Combo Box help
    By kspabo in forum Access
    Replies: 11
    Last Post: 06-27-2014, 01:00 PM
  2. Replies: 1
    Last Post: 02-27-2014, 03:43 PM
  3. Cascading combo box
    By Plix in forum Access
    Replies: 1
    Last Post: 02-20-2013, 06:54 AM
  4. cascading combo
    By rexb in forum Forms
    Replies: 9
    Last Post: 10-26-2009, 04:10 PM
  5. Cascading Combo Box
    By nywi6100 in forum Forms
    Replies: 0
    Last Post: 10-23-2006, 01:45 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