Hi all,
I have 2 tables, "tblJob" and "tblSupplers"
"tblJob" fields: job_no, suppler_no1, supplier_no2, supplier_no3.
"tblSuppers" fields: supplier_id, company_name.
Each job can have more than one suppler. I am trying to write a query that will do the following.
If job_no 1 has one supplier display the company_name. OR
if job_no 1 has 2 suppliers display both company_names. OR
if job_no 2 has 3 supplers display all three comany_names.
I have been playing with this all morning and getting no where. Can anyone help with this.
Kind regards
I have 2 tables, "tblJob" and "tblSupplers"
"tblJob" fields: job_no, suppler_no1, supplier_no2, supplier_no3.
"tblSuppers" fields: supplier_id, company_name.
Each job can have more than one suppler. I am trying to write a query that will do the following.
If job_no 1 has one supplier display the company_name. OR
if job_no 1 has 2 suppliers display both company_names. OR
if job_no 2 has 3 supplers display all three comany_names.
I have been playing with this all morning and getting no where. Can anyone help with this.
Kind regards
Last edited: