fearoffours
Registered User.
- Local time
- Today, 04:42
- Joined
- Apr 10, 2008
- Messages
- 82
Hello there. I've been administering a split Access 2003 database for some time now. The Back end currently resides on a central network drive, with the front end being updated and pushed out to users via a batchfile.
I now see the need to replicate the BE so that users on slow connections (which exist within the company, as we have multiple branches in rural areas with limited network bandwidth) can work on it acceptably.
After reading up on replication, mainly at the jet replication wiki, I've come up with the following plan of action to implement replication. However, I'm concerned that my method is flawed, and I'd appreciate input before I implement it.
My concerns are as follows:
And yes, I'll happily hear out any other suggestions! The database is low use, rarely more than one concurrent user. The database is used for usually no more than an hour or two at a time, rarely more than once a day, often as little 3 times as once a week.
I now see the need to replicate the BE so that users on slow connections (which exist within the company, as we have multiple branches in rural areas with limited network bandwidth) can work on it acceptably.
After reading up on replication, mainly at the jet replication wiki, I've come up with the following plan of action to implement replication. However, I'm concerned that my method is flawed, and I'd appreciate input before I implement it.
- User opens database by running shortcut pointing to batchfile on networked drive X:\network_db
- The batch file checks for a folder C:\database and creates it if it does not exist
- The batch file then copies the latest version of database_FE.mde from the network to the local folder
- It then checks for a file database_BE_replica.mdb in the local folder. If this does not exist, it copies the (never opened file) database_BE_replica_hub.mdb from the network and copies it to the local folder, renaming appropriately.
- The batchfile then opens the local database_FE.mde file
- A startup form (without a titlebar close button) which serves as a main menu for the application, opens. A procedure in the Form_Open event runs that deletes existing links to linked tables (as the existing links are to the networked copy of the BE!). This procedure then creates links to the tables in the local copy of database_BE_replica.mdb.
- In the same always open startup form, a procedure exists in the Form_Close event. This procedure synchronises the local BE with the networked one. This ensures the synchronisation (potentially a long process over a slow connection) happens at a time which should least inconvenience the user.
My concerns are as follows:
- What steps can I take to ensure the hub replica is never opened?
- Is there a better way to ensure the front end tables are linked to the local copy of the BE, rather than dropping and recreating links every start up?
- Is my call to synchronise on the closing of a startup form good enough? I believe there is no way to close the database without the Form_Close event happening.
And yes, I'll happily hear out any other suggestions! The database is low use, rarely more than one concurrent user. The database is used for usually no more than an hour or two at a time, rarely more than once a day, often as little 3 times as once a week.