UtterAccess.com

Welcome Guest ( Log In | Register ) · View New Posts · View Unanswered Topics

 
Closed TopicStart new topic
> Is Database Replica
 
   
Candace Tripp
post May 31 2002, 08:37 AM
Post #1

UA Admin & Utter Angel
Posts: 3,037
From: Virginia, USA



Function IsDatabaseReplica() As Boolean
' Comments : Determines if the current database is a replica
' Parameters: None
' Returns : True if the current version is a replica, False otherwise
'
On Error Resume Next

If CurrentDb.Properties("Replicable") = "T" Then
If Err = 3270 Then
' Database is not a replica
IsDatabaseReplica = False
Else
' Database is a Design Master or replica
IsDatabaseReplica = True
End If
End If

End Function


--------------------
Go to the top of the page
 
+

Closed TopicStart new topic

 



RSS Lo-Fi Version Time is now: 2nd September 2010 - 11:26 AM