How is the relationship of your Tables?
Is table A linked to table B and C?
You can create a Query, link the tables together (A one-to-many to B and C) and show the Table B.DieSize and Table C.DieSize and see which one returns.
danishani:
My query looks like this;
Select TableA.PartNumber, TableB.Die_Size, TableC.DieSize
From (TableA INNER JOIN TableB ON TableA.PartNumber= TableB.PartNumber) INNER JOIN TableC ON TableC.PartNumber
WHERE TableA.PartNumber = "12345";
It returns no records. Can you paste your sql statement for your suggestion?
Thanks,
Brooks
OP_Zaharin:
It looks like your suggestion requires the partnumber to be in both TableB and TableC? The partnumber should exist in either one or the other.
Thanks,
Brooks
SELECT TableA.PartNumber, TableB.DieSize, TableC.DieSize
FROM TableA, TableB, TableC
WHERE TableA.PartNumber = TableB.PartNumber
OR TableA.PartNumber = TableC.PartNumber
WHERE TableA.PartNumber = '12345';
OR
SELECT TableA.PartNumber, TableB.Die_Size, TableC.DieSize
FROM TableA
INNER JOIN TableB ON TableA.PartNumber = TableB.PartNumber
INNER JOIN TableC ON TableA.PartNumber = TableC.PartNumber
WHERE TableA.PartNumber = '12345';
Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.
How is the relationship of your Tables?
Is table A linked to table B and C?
You can create a Query, link the tables together (A one-to-many to B and C) and show the Table B.DieSize and Table C.DieSize and see which one returns.
HTH,
Daniel