|
Pacific Database |
|
| Home Company Services Employment Support Centre Events Contact Us | |
|
A world of information at your fingertips |
|
Access-specificDetermine if the current database is in MDE formatPublic Function IsMDE() As Boolean
'Determine if the current database is an MDE
Dim strMDE As String
On Error Resume Next
strMDE = CurrentDb.Properties("MDE")
IsMDE = (Err.Number = 0 And strMDE = "T")
End Function
Determine if the current database is running in the runtime environmentPublic Function IsRuntime() As Boolean
'Determine if the current database is running in the runtime environment
IsRuntime = (SysCmd(acSysCmdRuntime) = True)
End Function
|
Tested on...
|
| Home • Company • Services • Employment • Support Centre • Events • Contact Us | Pacific Database © 2008 |