KeepingDatabasesInSync2.mdb (intermediate) |
Post Reply |
Author | |
Roger Carlson
Microsoft MVP Joined: 20 Feb 2008 Status: Offline Points: 261 |
Post Options
Thanks(0)
Posted: 01 Aug 2008 at 2:50am |
Please consider donating $1 per sample downloaded, 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. Access 2000 DAO (64 KB): uploads/5/KeepingDatabasesInSync2-2k.zip
|
|
|
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |