Print Page | Close Window

KeepingDatabasesInSync2.mdb (intermediate)

Printed From: Roger's Access Library
Category: Roger's Access Library
Forum Name: Roger's Download Samples
Forum Description: A compendium of Microsoft Access 97 and 2000+ routines, each separated into its own sample database.
URL: www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=335
Printed Date: 29 Mar 2024 at 7:29am
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: KeepingDatabasesInSync2.mdb (intermediate)
Posted By: Roger Carlson
Subject: KeepingDatabasesInSync2.mdb (intermediate)
Date Posted: 01 Aug 2008 at 2:50am

Please consider donating $1 per sample downloaded, http://www.rogersaccesslibrary.com/whydonations.htm - find out why here .
 

KeepingDatabasesInSync2.mdb

This sample is similar to the "KeepingDatabasesInSync.mdb" sample in that it still uses MSysObjects to check for a newer verison on the network. However, rather than using a DOS batch file to copy the Master Copy over the Local Copy, it uses the FileCopy command.

Unfortunately, the database cannot be open if it going to be copied over. Thus we will programmatically create a 'CopyMaster' database, copy several objects to it, set certain properties, launch the 'CopyMaster' database, and the close the Local Copy. Once the copy is complete, the CopyMaster will close itself then re-launch the application.
 
Download
Access 97 (107 KB):
http://www.rogersaccesslibrary.com/forum/uploads/5/KeepingDatabasesInSync2_97.zip - uploads/5/KeepingDatabasesInSync2_97.zip

Access 2000 DAO (64 KB): http://www.rogersaccesslibrary.com/forum/uploads/5/KeepingDatabasesInSync2-2k.zip - uploads/5/KeepingDatabasesInSync2-2k.zip


-------------
Consider donating $1 per sample downloaded, http://www.rogersaccesslibrary.com/whydonations.htm" rel="nofollow - find out why here .<



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net