Under most circumstances you
won??™t need to change this property at all. See the following section, ???Moving the Design
Master,??? to see the VBA code associated with changing the DesignMasterID property.
Never designate two different replicas as Design Masters within the same replica set.
Doing so may split the design set into two separate replica sets that can no longer
replicate with each other.
Moving the Design Master
If the Design Master of a replica set is lost because of a hardware failure or user error, you may
need to designate another replica as the set??™s Design Master. Switching the DesignMasterID
between the old Design Master and the new Design Master is sufficient to reassign the Design
Master status. The changes will be propagated at the next synchronization.
The following code (Listing 31-9) performs such an action.
LISTING 31-9
Transferring the Design Master Status to Another Database in the Replica Set
Sub SetNewDesignMaster(OldDMName As String, _
NewDMName As String)
???Points to existing Design Master:
continued
CAUTION
1023
Using the Access Replication Features 31
LISTING 31-9 (continued)
Dim OldDM as DAO.
Pages:
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920