re-use a DB by emptying records

T

trix400

I want to use a colleagues DB for my own project. The DB has many tables in
it with many links and a primary key. How do I empty the DB so I can use it
for my project. When i go to some of the tables and select all records and
select delete I get lots of error messages.
 
D

Duane Hookom

The developer may have set up referential integrity which suggests a child
record can't exist without a parent record. If you try to delete the parent
record prior to the child record, this would leave an "orphaned" record which
Access won't allow.

You may need to simply delete the records from child tables prior to
deleting from the parent table.
 

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

Top