How do i delete multiple records in a union query?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to combine two queries and only post the records that are not in
one of the queries. For example, i am creating a queries in access that show
what products pass an inspection and fail an inspection. The products are
considered "failing" if this are not reworked. This will tell the employees
to try to fix the problems. So basically...i want to take the failing query
and subtract the records from the items in the passed query.
 
"Need help with multiple queries" <Need help with multiple
(e-mail address removed)> wrote in message
I am trying to combine two queries and only post the records that are not in
one of the queries. For example, i am creating a queries in access that show
what products pass an inspection and fail an inspection. The products are
considered "failing" if this are not reworked. This will tell the employees
to try to fix the problems. So basically...i want to take the failing query
and subtract the records from the items in the passed query.

SELECT * FROM qryPassed P LEFT JOIN qryFailing F ON P.SomeKey = F.SomeKey
WHERE F.SomeKey IS NULL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top