Some general advice needed here.
I've a list of laboratories who deal with Analytes(eg, ore, zinc, iron). There could be 200 plus of these. The labs also deal with Matrix(eg, fish, herbs, shellfish).
The way I set it up was:
tblLabs
LabID(PK)
LabName
tblAnalytes
AnalyteID (PK LookUp)
LabID(PK)
tblMatrix
MatrixID(PK LookUp)
LabID(PK)
This works fine and I managed to build a search function using 2 listboxes (1 for analyte, 1 for matrix) to produce a list of labs who can do Ore or Zinc and Fish or Herbs for example.
However, the user wants to produce a list of labs depending upon any combination of chosen analyte and matrix. For example, instead of a combination of Ore or Zinc and Fish or Herbs he would want Ore AND Zinc and Fish AND Herbs. To me the various combinations could be enormous and cant find a way to organise the tables.
Any ideas?
I've a list of laboratories who deal with Analytes(eg, ore, zinc, iron). There could be 200 plus of these. The labs also deal with Matrix(eg, fish, herbs, shellfish).
The way I set it up was:
tblLabs
LabID(PK)
LabName
tblAnalytes
AnalyteID (PK LookUp)
LabID(PK)
tblMatrix
MatrixID(PK LookUp)
LabID(PK)
This works fine and I managed to build a search function using 2 listboxes (1 for analyte, 1 for matrix) to produce a list of labs who can do Ore or Zinc and Fish or Herbs for example.
However, the user wants to produce a list of labs depending upon any combination of chosen analyte and matrix. For example, instead of a combination of Ore or Zinc and Fish or Herbs he would want Ore AND Zinc and Fish AND Herbs. To me the various combinations could be enormous and cant find a way to organise the tables.
Any ideas?