barrysprout
MIS
I am trying to delete records from one table based on the results of a select query.
I have a table called ‘Invoices’ where I want to delete those invoices that are returned by a select query called ‘DeleteInv’. In the delete query design, I have linked this query to the Invoices table by the field ‘InvoiceNo’. When I run it, I get a ‘can’t delete’ message. The cascade delete option allows the record to be deleted and I can delete it if I do it manually.
What am I doing wrong?
I have a table called ‘Invoices’ where I want to delete those invoices that are returned by a select query called ‘DeleteInv’. In the delete query design, I have linked this query to the Invoices table by the field ‘InvoiceNo’. When I run it, I get a ‘can’t delete’ message. The cascade delete option allows the record to be deleted and I can delete it if I do it manually.
What am I doing wrong?