I have a simple database with 3 tables.
Table 1 has fields "Phantom" and "mA",
Table 2 has fields "mA" and "focal spot" where "mA" is the primary key.
Table 3 has fields "Phantom", "focal Spot" and "detector factor" where both "Phantom and Focal Spot are set to primary keys.
What I am looking for is a query in which both "phantom" and "mA" values are entered as input data and the query returns the detector Factor as output data. To do this I have attempted to use the "ma" from Table one to lookup the "focal spot" in table 2 and then to use this focal spot and and the "phantom value" to lookup Table 3 for the "detector factor" by linking the tables as shown in the attachment. Is there a simple solution(without writing SQL) by linking the tables and writing a query into which the "phantom" and "ma" data can be entered to output the "Detector factor". Many thanks for trying!
Table 1 has fields "Phantom" and "mA",
Table 2 has fields "mA" and "focal spot" where "mA" is the primary key.
Table 3 has fields "Phantom", "focal Spot" and "detector factor" where both "Phantom and Focal Spot are set to primary keys.
What I am looking for is a query in which both "phantom" and "mA" values are entered as input data and the query returns the detector Factor as output data. To do this I have attempted to use the "ma" from Table one to lookup the "focal spot" in table 2 and then to use this focal spot and and the "phantom value" to lookup Table 3 for the "detector factor" by linking the tables as shown in the attachment. Is there a simple solution(without writing SQL) by linking the tables and writing a query into which the "phantom" and "ma" data can be entered to output the "Detector factor". Many thanks for trying!
Attachments
Last edited: