I administer a mechanical engineering database. I need to build a
query which uses the results from a subquery as its input or
criterion.
I am attempting to find all of the component parts of which a part may
be composed. I have a table of parts and their subparts. The problem
is that each of those subparts may be composed of smaller component
parts. The subpart would then be listed in the Part field linked to
each of its subparts in the Subpart field. I need to build a query
which finds all of the subparts to the 4th degree.
The query I built has had queer results, so I am doing something
wrong. I failed to write an SQL statement that nests the subquery
properly. When using the QueryBuilder and putting the subquery in the
table field I get problems even before trying to link the result of
the first query to another field. It displays the result of the first
query once for each row of the table. When I run the subquery as its
own query the result displays only once as expected.
I have researched this in the Access 2002 bible and over the net
without finding help. Suggestions?