ACC95: Deleted Replicas Still Show in Synchronization List (164237)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
This article was previously published under Q164237 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
After you try to synchronize with a deleted replica database, the deleted
replica's name still appears in the list of databases when you point to
Replication on the Tools menu, and then click Synchronize Now.
NOTE: This does not apply to replication features implemented using the
Replication Manager from the Microsoft Access Developer's Toolkit version
7.0.
RESOLUTION
You can create a custom procedure that tries to synchronize with the
deleted replica using the Synchronize method. If the database is not found,
its name is removed from the synchronization list. Run the following
procedure in each database in the replica set where you want to remove a
deleted replica name from the synchronization list.
Sub RemoveDeletedReplica()
Dim strDelReplica as String
On Error Resume Next
strDelReplica = InputBox _
("Enter the full path and name of deleted replica")
CurrentDb.Synchronize strDelReplica
End Sub
Type the path and file name of the deleted replica in the input box. After
the procedure runs, you can point to Replication on the Tools menu, and
then click Synchronize Now. Note that the deleted replica no longer appears
in the Synchronize With box.
NOTE: This method does not work if you create a replica, delete it, create
another replica with the same path and file name, and then delete that
replica again.
STATUS
This behavior no longer occurs in Microsoft Access 97.
REFERENCES
For more information about replication issues and solutions, please see the
following articles in the Microsoft Knowledge Base:
146884 ACC95: Replicated Object Replaced by Local Object in Replica
153526 ACC: How to Unreplicate a Database
For more information about the Synchronize method, search the Help Index
for "Synchronize method."
Modification Type: | Major | Last Reviewed: | 11/17/2000 |
---|
Keywords: | kbprb kbusage KB164237 |
---|
|