clear database

T

Tom

Hi all,
I created DB with tables, forms etc...
now, this DB is use, I want to clear the data and keep all the programming.
basiclly, make it as new - was never used.
I was wondering if creating a new DB and import all the components will do
the work or is there a better way?
Should I build everything again from scratch?

Thanks,
Tom
 
B

Brendan Reynolds

When importing tables, there is an option to import structure only, or
structure and data. Importing structure only will do the job for you.

There are a few things that you have to re-do when you import into a new
database, like setting the title, startup form, custom icon if you're using
one, etc. Whether it's faster to do the import and reset those properties,
or create a delete query for each table, will depend on the specifics - how
many custom properties you're actually using, etc.

If you delete the data from the existing database, don't forget to compact
afterwards.
 
T

Tom

Thanks for the quick advice


Brendan Reynolds said:
When importing tables, there is an option to import structure only, or
structure and data. Importing structure only will do the job for you.

There are a few things that you have to re-do when you import into a new
database, like setting the title, startup form, custom icon if you're using
one, etc. Whether it's faster to do the import and reset those properties,
or create a delete query for each table, will depend on the specifics - how
many custom properties you're actually using, etc.

If you delete the data from the existing database, don't forget to compact
afterwards.
 

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