PRA: Replicated Object Replaced by Local Object in Replica
ID: Q146884
|
The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
When using a replica database, if you synchronize the replica set and
choose not to close and reopen the replica, it is possible to create a
local form (or report) which replaces a replicated form (or report) with
the same name from the Design Master database. This replacing of the
replicated object with a local object in the replica database causes the
object to be different in or mismatched between databases in a synchronized
replica set.
RESOLUTION
To resolve mismatched local and replicated objects in a synchronized
replica set, follow these steps:
- Open the replica database that contains a different local object with
the same name as a replicated object in the Design Master database.
- If you want to save the local object in the replica database, make a
copy of the object and assign a unique name. If you do not want to
save the local object, skip to step 4.
- Close the replica database.
- Open the Design Master database.
- Open the replicated object (that was replaced with a local object in
the replica database) in Design view.
- On the File menu, click Save. This causes Microsoft Access to make
note of a change in the replicated object. The form will be updated in
every replica the next time the replica set is synchronized.
- Close the form.
- On the Tools menu, point to Replication, and then click Synchronize
Now.
- Close the Design Master database and open the replica database.
- Open the replicated object. Note that the object is no longer
mismatched; it is the exact same object as in the Design Master
database.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access version
7.0. Microsoft is researching this problem and will post new information
here as it becomes available.
MORE INFORMATIONSteps to Reproduce Problem
- Create a new database called Master.mdb.
- On the Tools menu, point to Replication, and then click Create
Replica.
- In the "This database must be closed before you create a replica"
box, click Yes.
- In the "Microsoft Access can make a backup of your database before
converting it to a Design Master" box, click Yes.
- In the Location Of New Replica box, enter the file name Replica.mdb
and click OK.
- In Master.mdb, create a new form in Design view with the following
label control:
Label: Label0
Caption: Design Master Form
- Close and save the form. In the Save As box, enter TestForm as the
form name, verify that the Make Replicable option is selected, and
then click OK.
- Close Master.mdb and open Replica.mdb.
- On the Tools menu, point to Replication, and then click Synchronize
Now. In the Synchronize Database box, click OK. When asked to close
and reopen the database (Replica.mdb), click No.
- Create a new form in Design View with the following control:
Label: Label0
Caption: Replica Form
- Close and save the form. In the Save As box, enter TestForm as the
form name and click OK. When asked if you want to replace the
existing object with the same name, click Yes.
- On the Tools menu, point to Replication, and then click Synchronize
Now. In the Synchronize Database box, click OK. When asked to close
and reopen the database (Replica.mdb), click Yes.
- Open the TestForm form and note that the label reads "Replica
database."
- Close Replica.mdb and open Master.mdb.
- Open the TestForm form and note that the label reads "Design Master
database." The form called TestForm in Master.mdb is mismatched or
different from the form called TestForm in Replica.mdb.
REFERENCES
Microsoft Access, "Building Applications with Microsoft Access for Windows
95, version 7.0, Chapter 19, "Using Database Replication," pages 417-433
For more information about replication, search on the word "replication,"
and then select the appropriate topic using the Microsoft Access for
Windows 95 Answer Wizard.
Additional query words:
Windows 95
Keywords : kbusage RplConf RplGen
Version : 7.0
Platform : WINDOWS
Issue type : kbbug
|