Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / July 2005

Tip: Looking for answers? Try searching our database.

Daily automated backup/compact procedures

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
karen scheu - 06 Jul 2005 16:24 GMT
I have an idea of what I have to do, but I am a bit confused as to how to
approach this correctly:

I have a BE database and a FE database.  In the BE database I created a macro
to execute a function that will Transfer the updates from AS400 file to
access table and run various queries to update the master table.

What I need to do is the following:

Schedule to start at 5 AM
Backup the BE database
Run the macro that executes the daily update procedure
Compact the BE database
Close the database

I can already schedule the BE database macro to kick off and the daily
updates are running successfully, but how to I wrap this all up and include
the backup and compact stuff.  I can't backup the database while I have it
open to run the macro, so how do I approach this?  Any advice is much
appreciated.

Thanks
Steve Demby - 06 Jul 2005 22:34 GMT
Use the command line interface with /x to run a macro on startup. Use a
windows script or another access database and vba code to copy your database
file. There is also a command line /compact to compact the database.

> I have an idea of what I have to do, but I am a bit confused as to how to
> approach this correctly:
[quoted text clipped - 18 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.