There are 3rd party products that do this. Im not sure if your goal is to write your own code, or just perform the task.
If its the latter, you may be interested in a freeware program called mdb task. It is an agent program that performs scheduled maintenence on access mdb's. You can use it to do some other stuff also. I have used it minimally (once a week compact and backup on a relatively small mdb) with no problems.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.