G
Greg G
Hello everyone, I am a first time submitter. I have a technical question for
you, which is as follows:
I have two queries that I need to connect in a new query. The first query
is called qry_RISK, and the other is called qry_CONTROL. The best primary
key candidate for each query is a field called PageID (a numeric field). In
order to break up the many-to-many relationship, a new table was created to
connect these two queries. This new table (called tbl_Master_Page_Links)
connects the PageID field in qry_RISK to the PageID field in the new table
tbl_Master_Page_Links. From there, the Linked_to_PageID field in
tbl_Master_Page_Links is connected to the PageID field in qry_CONTROL.
Everything is linked via a one-to-one relationship (Join Properties - option
# 1).
When, I run the master query that contains qry_RISK, tbl_Master_Page_Links
and qry_CONTROL, I notice a number of records drop off the radar.
If I create a new query with just qry_CONTROL in the query design window,
select the fields that I need in the results set, then run this test query,
it returns the correct number of records.
Any ideas what is going wrong?
you, which is as follows:
I have two queries that I need to connect in a new query. The first query
is called qry_RISK, and the other is called qry_CONTROL. The best primary
key candidate for each query is a field called PageID (a numeric field). In
order to break up the many-to-many relationship, a new table was created to
connect these two queries. This new table (called tbl_Master_Page_Links)
connects the PageID field in qry_RISK to the PageID field in the new table
tbl_Master_Page_Links. From there, the Linked_to_PageID field in
tbl_Master_Page_Links is connected to the PageID field in qry_CONTROL.
Everything is linked via a one-to-one relationship (Join Properties - option
# 1).
When, I run the master query that contains qry_RISK, tbl_Master_Page_Links
and qry_CONTROL, I notice a number of records drop off the radar.
If I create a new query with just qry_CONTROL in the query design window,
select the fields that I need in the results set, then run this test query,
it returns the correct number of records.
Any ideas what is going wrong?