Deleting records from past year.

R

Ron

I use a student database and it is getting huge. How do I store the previous
records on a cd, and then start the new year with a fresh database with no
records.
 
S

Steve Schapel

Ron,

Do you have a split database, with the application objects (forms,
reports, etc) in one file, linking to the core data tables in another
file? If so, you can simply make a copy of the backend data file,
delete all the records from it, and keep the copy as your archive of the
previous year's data.
 
R

Ron Hinds

The simplest way (though this may not be suitable for you) is to copy the
database as it exists to the CD. That takes care of the old records. Now
create a new database, and import everything from the previous one except
the tables. Import them separately, but click Options>> and choose the radio
button that says "Definition Only" under "Import Tables". This will give you
a "clean" database to start fresh from.
 
B

BruceM

You could use a query to limit the records to ones within a particular date
range. You could use a similarly constructed make-table query to create a
table based on records you would like to archive, then you could delete
those records from the main table (or use another make-table query to create
a table containing only records that were not part of the archive record
set.
Having said this, Access can handle a lot of records without problems. Are
there performance issues that are leading you to seek this solution? If so,
what kinds of problems, and with what number of records. A database that is
bogging down may be symptomatic of design irregularities.
It occurs to me to wonder if you never need the old records. You can't
readily use them in the database if they are on a CD. Why store them at
all? If you do need them again, storing them on a CD is probably not your
best solution.
 
L

ldiaz

If you want to do that, copy your DataBase to your CD with an especific name
like fo example Students DataBase2005, once copiedd open your DataBase and
delete all records from you Table.

if my answer was correct click YES in:
""""Was this post helpful to you?"""

Thanks
ldiaz
 
Top