PC Review


Reply
Thread Tools Rate Thread

Daily automated backup/compact procedures

 
 
\karen scheu via AccessMonster.com\
Guest
Posts: n/a
 
      6th Jul 2005
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

--
Message posted via http://www.accessmonster.com
 
Reply With Quote
 
 
 
 
Steve Demby
Guest
Posts: n/a
 
      6th Jul 2005
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.

""karen scheu via AccessMonster.com"" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
> 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
>
> --
> Message posted via http://www.accessmonster.com



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to get Automated Daily Backup of Calendar to PST Andy Microsoft Outlook Calendar 1 10th Aug 2009 05:10 PM
Daily automated process bmjnine@hotmail.com Microsoft Dot NET Framework 4 2nd Apr 2007 03:01 PM
Daily automated process bmjnine@hotmail.com Microsoft ASP .NET 6 2nd Apr 2007 03:01 PM
Stored procedures/automated reports Turbo Microsoft Outlook 3 8th Feb 2007 02:01 PM
Automated Daily Import Racer57 Microsoft Access Macros 2 27th Jan 2004 02:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:32 PM.