J
JJ1109
Apologies for the subject. I have trouble describing my exact problem. I can
change it if someone else can suggest a better one!
I'm having a little trouble with a query. I think it has to do with setting
up relationships properly.
I have two tables in my database.
One is "Risk Assessments" and has three fields: RA_ID (primary), RA_Code and
RA_Descript.
Second is "Chemicals" and has a number of fields: Chem_ID (Primary),
Chemical, a few others, then RA_ID, RA1, RA2, etc up to RA6.
RA_ID in tblRiskAssessments is linked to RA_ID in tblChemicals.
I have a combo box in my form that drops the RA_ID from tblRisk Assessments
into RA1, then a second that drops another one into RA2 etc, as users do many
different things with the chemicals.
I now want to create a query that will list the chemical name (from
tblChemicals), RA_Code and RA_Descript (from tblRisk Assessments) so that I
can create a report with those in them. I'm stuck though - I can't work out
how to relate things to each other so that the query will display any data.
Hope that's understandable!
regards
JJ
change it if someone else can suggest a better one!
I'm having a little trouble with a query. I think it has to do with setting
up relationships properly.
I have two tables in my database.
One is "Risk Assessments" and has three fields: RA_ID (primary), RA_Code and
RA_Descript.
Second is "Chemicals" and has a number of fields: Chem_ID (Primary),
Chemical, a few others, then RA_ID, RA1, RA2, etc up to RA6.
RA_ID in tblRiskAssessments is linked to RA_ID in tblChemicals.
I have a combo box in my form that drops the RA_ID from tblRisk Assessments
into RA1, then a second that drops another one into RA2 etc, as users do many
different things with the chemicals.
I now want to create a query that will list the chemical name (from
tblChemicals), RA_Code and RA_Descript (from tblRisk Assessments) so that I
can create a report with those in them. I'm stuck though - I can't work out
how to relate things to each other so that the query will display any data.
Hope that's understandable!
regards
JJ