Compacting DB

D

Dan M

My Access 97 multiuser db front end (forms, reports, code)
tends to become a rather large mdb file after a couple of
months. Left unchecked, it will reach the 1 Gig limit.

Is there code to check the size of a file? I'd like to
run a procedure that will kick users off (it will run at
night, so there shouldn't be any users, but it's
possible), and compact the database when it gets too close
to the 1 Gig limit.

And, correct me if I'm wrong, but I don't believe it is
possible for that code to be in the db that I actually
want to compact. How do I handle that?
 

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