Results 1 to 4 of 4
  1. #1
    DanielleN is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2016
    Posts
    5

    Combining combobox values to one value

    Dear all,

    I would like to be able to combine answers from different comboboxes to 1 variable.
    Let me explain the situation in my access db:
    The database is a medical registration system. In this system one should identify the diagnosis. Doing this happens in 2 steps.
    First you have the variable diagnosis: this is a combobox naming 8 parts of the body (general, pelvis, knee etc.)
    Depending on the selection a follow up variable appears with a combobox specifying the complaint. So there are 8 follow up variables depending on the choice made in diagnosis. See image:

    Click image for larger version. 

Name:	Screen Shot 2016-08-30 at 21.05.45.png 
Views:	14 
Size:	44.9 KB 
ID:	25635 Click image for larger version. 

Name:	Screen Shot 2016-08-30 at 21.05.31.jpg 
Views:	12 
Size:	54.9 KB 
ID:	25636

    What I would like is make 1 variable combining the answers of the 8 follow up questions. As every case can only have 1 answer in one of the 8 variables I would assume this is possible but i do not see how. The variable is needed for the next form, the treatment form, were one can select which case the treatment is on. At the moment it looks like the image below but I would like an extra column with the specification of the diagnosis:


    Click image for larger version. 

Name:	Screen Shot 2016-08-30 at 21.13.03.png 
Views:	12 
Size:	11.1 KB 
ID:	25637

    I hope the above is clear and someone has the solution .
    Thanks in advance.
    Kind regards, Daniëlle

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Not sure where you are having a problem. You should be able to concatenate the values of several ComboBoxes into one variable if you want.

  3. #3
    DanielleN is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2016
    Posts
    5
    Thank you for your reply. As access is a bit new to me I was not aware that I could do that. Looking it up on google showed me the trick. Thank you for the help.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You are most welcome. Thank you for posting back with your success and solution and for marking the thread as Solved.

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

Similar Threads

  1. Replies: 2
    Last Post: 04-09-2016, 01:23 PM
  2. Replies: 3
    Last Post: 03-02-2016, 06:05 PM
  3. Replies: 8
    Last Post: 06-12-2014, 05:25 AM
  4. Combining 2 queries into one for combobox
    By T_Tronix in forum Access
    Replies: 2
    Last Post: 11-21-2013, 10:16 AM
  5. Combobox setting other combobox values problem
    By maxmaggot in forum Programming
    Replies: 8
    Last Post: 06-30-2013, 07:18 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