ACC: How to Make a Database Replicable

Last reviewed: May 23, 1997
Article ID: Q136134
The information in this article applies to:
  • Microsoft Access versions 7.0, 97

SUMMARY

Database Replication is a feature of the Microsoft Jet database engine 3.0 and later that enables you to make special copies of databases (called replicas) so that users can work on their own copies at different locations. At a later time, users can synchronize their copies to ensure that they have consistent, up-to-date records and objects. When you replicate a database, your original database becomes the Design Master for the replica set.

MORE INFORMATION

To implement Microsoft Jet database engine replication, you need to convert a Microsoft Access database into a special replicable format. There are three ways to make a database replicable:

  • You can drag and drop the database file (.mdb) into the Briefcase on the Windows 95 or Windows NT 4.0 desktop.
  • You can use the Create Replica command in Microsoft Access. (Point to Replication on the Tools menu and click Create Replica.)
  • You can use the Replication Manager available with the Microsoft Office 97, Developer Edition or the Microsoft Access Developer's Toolkit for Windows 95 version 7.0.

When you convert a database into a replicable format, you are asked to make a backup copy of the database. You should click Yes to create the backup copy because you cannot return the database to its non-replicated state once it is replicable.

The replication conversion process adds several components, modifies a few properties for existing objects, and adds new properties to a database. Specifically, replication makes the following changes to a database:

  • A minimum of three new fields are added to each data table:

        1. The s_GUID field stores a globally unique identifier for each
           record.
    

        2. The s_Lineage field stores binary information about the history of
           changes to the record.
    

        3. The s_Generation field stores information about groups of changes.
           If a table has Memo or OLE data type fields, multiple s_Generation
           fields are added--one for each Memo or OLE field.
    
  • Several System tables are added to the database to record the history of exchanges between replicas, the location of other replicas in the replica set, and other information required by the Microsoft Jet database engine.
  • The NewValues property of AutoNumber fields will change from Increment to Random. This prevents any new records from receiving the same value as other new records in different replicas.
  • The Properties collection in data access objects (DAO) has five additional properties: DesignMasterID, KeepLocal, Replicable, ReplicaID, and ReplicationConflictFunction.
  • The Replicable property for each object in the database is set to "T".

REFERENCES

For more information about creating replicas, search the Help Index for "replicas, creating," or ask the Microsoft Access 97 Office Assistant.

For more information about changes made to your database when it is replicated, search the Help Index for "replicas, changes to fields and tables," or ask the Microsoft Access 97 Office Assistant.


Keywords : kbusage RplDmr
Version : 7.0 97
Platform : WINDOWS
Hardware : X86
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 23, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.