I'd suggest you back up the entire database as your "just in case"
insurance.
Then, if you think some "historical data review" might be needed, make a
copy of those essential tables (structure only) in a new "Archive" database.
I'd do this, even if I didn't suspect the "historical data review" might be
needed, because I wouldn't want to answer the question "So why did you throw
away possibly-useful data?" at the future date someone decided such analysis
might be useful.
Link the Archive tables, and use Queries to copy to the Archive those
records that are no longer active, then use Queries with the same criteria
to delete the same records from your production database. Once this is done,
back up your DB, Compact and Repair, then back it up again.
If you don't have relationships defined, referential integrity applied, and
Cascading Delete, you should look at those in Help -- that will make your
fina deletions easier... just delete the parent record (the "one" side) and
the child records (the "many" side) will be removed along with it.
Larry Linson
Microsoft Access MVP
"Susan Bricker" <susan.l.bricker@citigroup.comwrote in message
news:455dd08a$0$498$815e3792@news.qwest.net...
Quote:
Greetings. My disclaimer first - I am a neophyte where VB and ACCESS
are concerned, but I have been programming for quite a long time. That
said ...
>
I created a db at work using MS/ACCESS 2000 to assist in our software
project management. The group I work with (online transaction
processing for a major financial institution) works on various projects.
Our programmers are assigned tasks for these projects. Projects are
grouped into a sofware "Release". Releases are installed into
Production.
>
So the design goes something like
>
Many Tasks in a Project (tblTasks).
Many Projects in a Release (tblProjects).
Many Releases in the Db (tblReleases).
>
Also,
>
There are other records (another table) associated with Tasks (task
notes). There are other records (another table) associated with
Projects (project notes).
>
As we progress through the years the size of the tables is increasing
and the response time is reducing. When I wrote the db I was a real
beginner and it might not be that efficient. The db resides on a server
and we access the db with a shortcut (icon on the desktop) to the remote
server drive (where the FE and BE reside).
>
Ok ... now to the QUESTION ...
>
I want to remove records from the following tables that are associated
with OLD Releases:
tblReleases, tblProjects, tblTasks, tblProjectNotes, tblTaskNotes.
>
How should I do this?
>
I am reluctant to just manually go into the BE and delete the records.
I think I want to keep them around for the proverbial "just in case".
Although, there is no reason to ever go back. This db is used by
Release Coordinators to generate STATUS REPORTS during the lifecycle of
a Release. Once the Release has gone into Production there is no reason
to produce any more reports.
>
All suggestions are welcome.
Thanks much.
Sue
Regards,
SueB
>
*** Sent via Developersdex
http://www.developersdex.com ***