Results 1 to 8 of 8
  1. #1
    Shakeel is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2020
    Location
    UK
    Posts
    6

    Cascading combo box

    I am looking for some assistance please.



    I enclose a copy of a very simple example of a problem I am having with cascading combo boxes.

    I have site table that I am using for the source data for the site and sub site of facial injuries.On the patient form I have a injuries sub form and I wanted the cascading combo boxes to filter out the relevant items to the sub site when choosing the site.

    Also I want to save the values entered into the relevant filed to be stored in the underlying injuries table. How do I do that?

    Any advise please?
    Attached Files Attached Files

  2. #2
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    Why not just use one combobox to choose the proper row from the site table?

  3. #3
    Shakeel is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2020
    Location
    UK
    Posts
    6
    There are 7 subsites for mandible and several for others, I was trying to make it so less room for error in part data entry and simplicity on the form.
    Does that make sense?

  4. #4
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    There are 7 subsites for mandible and several for others
    So the user just selects one of the seven rows. Why is that not simpler than getting the same result from 2 comboboxes?

  5. #5
    Shakeel is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2020
    Location
    UK
    Posts
    6
    I get your point.
    There is also an element of my learning how to do it, perhaps you can give me some advice on where I am going wrong?
    Thanks

  6. #6
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    shak-davegri-v01.zip

    See attached.
    You have a Many-to-Many relationship requirement. The Injuries table is the junction table.
    I renamed your Primary and Foreign keys to eliminate confusion, and removed duplicate field between tables.
    Last edited by davegri; 08-31-2020 at 10:34 AM. Reason: sp

  7. #7
    Shakeel is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2020
    Location
    UK
    Posts
    6
    Thanks very much Dave. I will review this for my learning as much as anything else. Very helpful

  8. #8
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    You're welcome. Good luck with the project.

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

Similar Threads

  1. Self-Cascading Combo Box
    By WCStarks in forum Access
    Replies: 2
    Last Post: 01-18-2018, 01:11 PM
  2. Cascading Combo Box
    By Homegrownandy in forum Access
    Replies: 11
    Last Post: 08-10-2015, 07:50 AM
  3. Cascading combo box
    By zippy483 in forum Access
    Replies: 8
    Last Post: 11-11-2014, 08:32 AM
  4. Replies: 1
    Last Post: 02-27-2014, 03:43 PM
  5. cascading combo
    By rexb in forum Forms
    Replies: 9
    Last Post: 10-26-2009, 04:10 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