I am using a SELECT
query in MS Access to select data from two tables.
In a second step I want to delete entries from a third table that are already displayed in the results of that select query. Therefore I wrote a DELETE
query that deletes all records from the third table that show up in the result of the SELECT
query.
Simple question: Is it enough to run the delete query from VBA code or do I need to run the SELECT
query before, to get up-to-date results?
Table 1 and 2 are linked tables and they are updated daily, so the results of the SELECT
query should differ, too, before I run the DELETE
query.
Thanks in advance!
Update: It is two different queries, not a SELECT
statement within a delete query.