I am trying to run a delete query in a database with 34 tables. 33 tables relate back to the main table which also contains the only primary key in the database.
I created a query to delete records from the main table (Let's call it 'ComputerInfo') but I get the error "Could not delete from specified tables".
I think my problem is due to the one-to-many relationship between the tblComputerInfo and the rest of the tables.
I cannot manually delete a single record from tblComputerInfo but I can manually delete records from all other tables.
What is the best way to delete old records from this database? Can a delete query be used in this scenario?
Also, how do I insure that the old records are deleted from the other tables in the DB?
Any and all suggestions are welcome.
Thank you!
TB0NE
I created a query to delete records from the main table (Let's call it 'ComputerInfo') but I get the error "Could not delete from specified tables".
I think my problem is due to the one-to-many relationship between the tblComputerInfo and the rest of the tables.
I cannot manually delete a single record from tblComputerInfo but I can manually delete records from all other tables.
What is the best way to delete old records from this database? Can a delete query be used in this scenario?
Also, how do I insure that the old records are deleted from the other tables in the DB?
Any and all suggestions are welcome.
Thank you!
TB0NE