UtterAccess.com
Thank you for your support!      
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Is Database Replica    
 
   
Candace Tripp
post May 31 2002, 08:37 AM
Post #1

UA Admin & Utter Angel
Posts: 3,038
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
 
+

Reply to this topicStart new topic

 



RSS Go to Top  ·  Lo-Fi Version Time is now: 4th February 2012 - 10:12 PM