There are 3rd party tools ("Total Access Agent" by FMS comes to mind as one)
that will do want you want. Keep in mind that you can't backup (or compact
or copy, etc.) any database that is open, so no coded cmdButton on your form
will do a backup of the database that contains it.
This is even harder in multi-user environments as you'll need all users to
stop accessing the back-end file.
-Ed
"khan" <ah******@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
can any one help me how to create an automatic backup of ms access
database. Actually I want it to be done either by just clicking on a
button or automatally make a backup at 6pm every day. plz help