ACC: Changes to Connect Property Don't Synchronize to Replicas
ID: Q190528
|
The information in this article applies to:
-
Microsoft Access versions 7.0, 97
-
Microsoft Access Developer's Toolkit, version 7.0
-
Microsoft Office Developer Edition 97
SYMPTOMS
Advanced: Requires expert coding, interoperability, and multiuser skills.
When you use the Linked Table Manager to change the file location from
which your tables are linked, or when you change the Connect property of a
TableDef, the changes are not synchronized with other members of the
replica set.
RESOLUTION
You can force the changed links to be propagated to the other members of
the replica set by making the linked tables non-replicable, and then making
them replicable again. You can do this by using the table properties or
through Replication Manager.
NOTE: The table properties can only be set in the replica set's Design
Master.
Changing a Table's Properties in Access
- Open the replica set's Design Master.
- In the Database Window, click the Tables tab.
- Select the first table marked as replicable.
- On the View menu, click Properties.
- Click to clear the Replicable check box.
- Click Apply.
- Click to select the Replicable check box.
- Click OK.
Repeat steps 3 through 8 for every replicable, linked table. After you have
finished "re-replicating" all the tables, the changes to the linked tables
will start to propagate to the other members of the replica set during
synchronization.
Changing a Table's Properties with Replication Manager
If you have many tables, it may be easier to modify the table properties by
using Replication Manager. Replication Manager is a utility program that
ships with the Microsoft Access Developer's Tools for Windows 95 and the
Office 97 Developer Edition.
- Using Replication Manager, manage the Design Master.
- Open the managed Design Master in Replication Manager.
- On the View menu, click Properties.
- In the Properties dialog box, click the Open Database tab, and then
click Modify Object Status.
- In the Modify Object Status dialog box, click the Tables tab and
de-select all the tables that have had their linking information
changed. Then, click OK.
- In the Properties dialog box, click Modify Object Status again.
- Select all the tables that you de-selected in step 5.
- Click OK.
The changes to the linking information for the tables is now available to
the other members of the replica set through synchronization. To update the
other members, synchronize all members of the replica set to the Design
Master. You may also synchronize the Design Master to a hub replica, and
then synchronize all other members to the hub.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 7.0 and
97.
MORE INFORMATIONSteps to Reproduce Problem
- Make a copy of Northwind.mdb and name it "Copy of Northwind.mdb."
- Create a new database called DM.mdb.
- Link all the tables from Copy Of Northwind.mdb to DM.mdb.
- On the Tools menu, point to Replication, and then click Create Replica.
Accept all the defaults.
- On the Tools menu, point to Add-Ins, and then click Linked Table
Manager. Use the Linked Table Manager to relink the tables to
Northwind.mdb.
- Click the Select All button to select all of the linked tables.
- Click to select the "Always prompt for new location" check box.
- Click OK.
- Select Northwind.mdb as the new location.
- Click OK to confirm new location.
- Close the Linked Table Manager.
- On the Tools menu, point to Replication menu, and click Synchronize
Now to synchronize to Replica of DM.
- Delete the "Copy of Northwind.mdb."
- Open the Replica of DM.mdb file.
- Try to open any of the linked tables.
Note that you receive the following error message
Couldn't find file <filename>
where <filename> is the path to "Copy of Northwind.mdb" on your system.
Even though the linked table information was updated in the Design
Master, the new link information was not updated in the replica.
REFERENCES
For more information about replication, search the Help Index for
"Replication," or ask the Microsoft Access 97 Office Assistant.
Keywords : kbdta OdeRplMgr RplUpd
Version : WINDOWS:7.0,97
Platform : WINDOWS
Issue type : kbbug
|