Results 1 to 11 of 11
  1. #1
    Ina is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2021
    Location
    Australia
    Posts
    23

    Combo box selection not working

    I have a form with two subforms running from a one to many relationship query.
    The subforms open on a new record.
    In each subform I have a combobox to select the test I want to add.
    It comes up with the list of tests but wouldn't let me choose one.


    I'm at the point where I don't know how to fix this and do appreciate any help, please!
    Attached is a copy of my db file.
    Thank you in advance 🙂
    Attached Files Attached Files

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,451
    some instructions as to which form is an issue will be helpful.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    What is name of form need to look at? And name of combobox?
    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.

  4. #4
    Ina is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2021
    Location
    Australia
    Posts
    23
    Sorry, about that.
    The form name is "DNAProfileAddF"

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    There is no form with that name.
    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
    Ina is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2021
    Location
    Australia
    Posts
    23
    Sorry, I attached the wrong file.
    This is the correct one.
    Attached Files Attached Files

  7. #7
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    Not surprising unable to make selection in any of those comboboxes with such complex RecordSource, which is apparently a non-editable dataset. Normally a form is intended to enter/edit data for one table. Why do you have such a complex query chain to produce dataset for these subforms? Suggest you reexamine and simplify. Too much for me to try to understand and unsnarl that query chain.
    Last edited by June7; 12-24-2021 at 04:04 PM.
    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.

  8. #8
    orange's Avatar
    orange is offline Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,746
    @Ina,

    Might be a good strategy to tells what your issues are and how to repeat/experience specific issues.

    Also, recommend you establish relationships between your tables; enforce referential integrity to take advantage of built in database features.Click image for larger version. 

Name:	DNADogs.PNG 
Views:	25 
Size:	23.0 KB 
ID:	46921

  9. #9
    Ina is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2021
    Location
    Australia
    Posts
    23
    Quote Originally Posted by orange View Post
    @Ina,

    Might be a good strategy to tells what your issues are and how to repeat/experience specific issues.

    Also, recommend you establish relationships between your tables; enforce referential integrity to take advantage of built in database features.Click image for larger version. 

Name:	DNADogs.PNG 
Views:	25 
Size:	23.0 KB 
ID:	46921
    Hi Orange, are you willing to take a look at my whole database and help me to get it right?
    My frontend is 50mb large so I will have to share a location on my One Drive.

  10. #10
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    Decided to play around with. What I did:

    1. set DNADiseaseAddSubF RecordSource to DNAProfileT

    2. add ShortDescription to Combo10 RowSource, change ColumnCount to 3, change ColumnWidths to 0";1.875";0"

    3. set ShortDescription textbox ControlSource to =Combo10.Column(2)

    Now do same for DNATraitsAddSubF.
    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.

  11. #11
    orange's Avatar
    orange is offline Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,746
    I've been away for Christmas--now I see this is Solved?? What exactly was the solution, it may help someone else.

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

Similar Threads

  1. Replies: 5
    Last Post: 05-31-2017, 08:58 AM
  2. Replies: 7
    Last Post: 03-30-2015, 10:04 AM
  3. Replies: 5
    Last Post: 04-09-2014, 06:57 PM
  4. Replies: 3
    Last Post: 07-03-2013, 10:38 AM
  5. Replies: 1
    Last Post: 10-30-2012, 10:29 AM

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