W
William
I am trying to construct my first delete qry with no luck. I have two
tables. Table 1 has 15 records, Table 2 has 10 records shared by both
tables. i want to delete the 10 records in Table 1 that are in common with
Table 2, so that Table 1 ends up with 5 records, none of which is in common
with Table 2.
Here's what I tried:
New select query
Add both tables
Join the tables on their primary key using option #1 in the Join Properties
window.
Specify delete query
Drag the asterisk from Table 1 to the lower section of the qry window, where
the word "from" appears in the row 3.
When I VIEW the query, I see the 10 records I want to delete, but when I try
to RUN the query, I get an error message, the Help window for which is
concerned about "read only" status. I've looked at the properties of the
database and the queries, and none appear to be read only.
Ideas?
Thanks,
William
tables. Table 1 has 15 records, Table 2 has 10 records shared by both
tables. i want to delete the 10 records in Table 1 that are in common with
Table 2, so that Table 1 ends up with 5 records, none of which is in common
with Table 2.
Here's what I tried:
New select query
Add both tables
Join the tables on their primary key using option #1 in the Join Properties
window.
Specify delete query
Drag the asterisk from Table 1 to the lower section of the qry window, where
the word "from" appears in the row 3.
When I VIEW the query, I see the 10 records I want to delete, but when I try
to RUN the query, I get an error message, the Help window for which is
concerned about "read only" status. I've looked at the properties of the
database and the queries, and none appear to be read only.
Ideas?
Thanks,
William