Results 1 to 4 of 4
  1. #1
    qazxsw123 is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Dec 2018
    Posts
    2

    Multiple Rowsource

    I am working on a form for work. I have a table/query rowsource and before that I have a chemical type to choose from. After choosing a chemical type the other combobox automatically populates its corresponding type but, I also need it to provide a list of other choices from a combobox. Ex. someone chooses a chemical type and the other combobox now has a '3' as the corresponding type. I then also need the second combobox to offer other types from a dropdown list (ex. also have 0,1, and 2) as other possibilities.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    What is 'corresponding type'? I don't understand - why would a combobox NOT have multiple choices?

    It does sound like you want what is called 'cascading' or 'dependent' combobox. This is a common topic.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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
    qazxsw123 is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Dec 2018
    Posts
    2
    What I mean is I have a list of chemical types and each chemical type has a number (1,2, or 3) associated with it. When someone chooses the chemical type in the combobox, the other combobox automatically updates with the number being displayed. What I want to have happen is keep that function as is but, also give the user the ability to choose another number if they want to. Ex. you choose chemical a from the combobox, the other combobox then returns the value of 1 but, that is the only number being displayed in the other combobox. What I want is to give the user the ability to change the number with values of either 0,1,2, or 3.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Sorry, still don't understand. Why is combobox 1 selection displayed in combobox 2?

    If combobox LimitToList is set to No, users can type whatever number they want.
    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.

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

Similar Threads

  1. Change rowsource on cbo
    By Tvanduzee in forum Forms
    Replies: 1
    Last Post: 09-27-2012, 02:04 PM
  2. RowSource question
    By ermcc in forum Access
    Replies: 3
    Last Post: 07-11-2012, 08:16 AM
  3. .RowSource Combo
    By white_flag in forum Access
    Replies: 1
    Last Post: 09-06-2011, 07:59 AM
  4. combobox rowsource
    By dirkvw in forum Forms
    Replies: 3
    Last Post: 06-20-2011, 05:12 PM
  5. SQL Rowsource
    By DSTR3 in forum Queries
    Replies: 2
    Last Post: 12-06-2010, 11:06 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