G
Guest
Hello -
Please bear with me as I am an amateur!
I have a form that has a
subform that contains a combo box. A user can select numerous items from the
box (it is set up as a "continuous" combo box so that there can be many
choices selected - the choices are displayed in separate fields on the form).
My problem is that I need to create a query that will take the selections
that are made by the user (for example, if the user picks "weakness",
"nausea" and "chest pain" as three of their choices), the query should take
those three choices, treat them as "keywords" that will then return results
from another table. For example, the words weakness, nausea and chest pain
will be somewhere in the description field in the "Diagosis" table. Thus,
the "symptoms" will bring back the result of "Heart Attack" or "Acid Reflux",
etc... There could be many diagnoses that fit the symptoms. First, I'm not
sure how to link the Symptoms and Diagnosis tables, and secondly, I don't
know how to write the query that will return the results that I need. I hope
this makes some sense. Can anyone help?
Thanks in advance!
Please bear with me as I am an amateur!
I have a form that has a
subform that contains a combo box. A user can select numerous items from the
box (it is set up as a "continuous" combo box so that there can be many
choices selected - the choices are displayed in separate fields on the form).
My problem is that I need to create a query that will take the selections
that are made by the user (for example, if the user picks "weakness",
"nausea" and "chest pain" as three of their choices), the query should take
those three choices, treat them as "keywords" that will then return results
from another table. For example, the words weakness, nausea and chest pain
will be somewhere in the description field in the "Diagosis" table. Thus,
the "symptoms" will bring back the result of "Heart Attack" or "Acid Reflux",
etc... There could be many diagnoses that fit the symptoms. First, I'm not
sure how to link the Symptoms and Diagnosis tables, and secondly, I don't
know how to write the query that will return the results that I need. I hope
this makes some sense. Can anyone help?
Thanks in advance!