Delete non matching records

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

Guest

I have two tables, that are linked (typical header/detail).

Under certain situations, I can have entries in the detail record that
aren't matched in the header (app blows out)

I would like to run a "housekeeping" query on form startup to look for
orphan detail records and delete them

I don't see how I can do this via QBF, and my SQL is not strong.

Anyone have any suggestions?

Thx
 
Also, you can use the unmatched query wizard to build a query to display the
relevant records and then turn that into a delete query.
 
Back
Top