Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,932


    I am storing the SectorType (Corporate or Operational)
    your cbxSectorType is bound to the ID so it is storing the ID not the type



    Other issues - the control source to cbxSectorType is SectorType, but in your recordsource you are bringing through DATA.[Sector Type]

    How to fix that?
    correct the typing

    I cannot see the codes. In After Update, I clicked [...] then selected Macro Builder. Then from the list, I picked "Requery" and then I inputted the control Name "CbxSector".
    then you need to do the same for the form current event.

  2. #17
    Pascale is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Nov 2016
    Posts
    17
    If I remove SectorTypeID from the followings, the "list" of sector types do no show any longer for that field. But it seems to work fine in this way. It is the Sector field that does not work (i.e. does not show on the form although it now saves in the table)SELECT TblSectorType.TblSectorTypeID, TblSectorType.[Sector Type]
    FROM TblSectorType
    ORDER BY TblSectorType.[Sector Type];

  3. #18
    Pascale is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Nov 2016
    Posts
    17
    Everything now works fine!!!! Thank you sooooooo much! I had been desperately googling this for weeks... Maybe you could post a little video on how to create simple cascading comboboxes. You are the best!!

  4. #19
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,932
    I usually refer users to http://www.access-programmers.co.uk/...d.php?t=275155

    which is intended for continuous forms/datasheets, but works in single forms as well. Your setup as it stands will only work in single forms.

  5. #20
    Pascale is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Nov 2016
    Posts
    17
    Thanks. I would like to mark this thread as solved but cannot find how. I clicked the "How to Mark a Thread Solved" tab above but it does not work...

  6. #21
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,932
    near the top on the right of the green bar, click on Thread Tools

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Combo box not displaying selected item name
    By dovberman in forum Forms
    Replies: 12
    Last Post: 02-01-2016, 12:39 PM
  2. Replies: 5
    Last Post: 06-24-2015, 02:45 PM
  3. Combo box - Open at last item selected
    By mitchy1111 in forum Programming
    Replies: 2
    Last Post: 10-07-2011, 07:23 AM
  4. Replies: 7
    Last Post: 08-31-2011, 05:09 PM
  5. How to save cascading combo box value
    By mar_t in forum Access
    Replies: 2
    Last Post: 01-20-2011, 06:37 PM

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