Function GetVer() 'Access version
Dim ResStr, Ver As Object
ResStr = CurrentDb.TableDefs("YrAttTable").Connect
ResStr = Mid(ResStr, 11, Len(ResStr))
Set Ver = GetObject(ResStr)
GetVer= Ver.Version
End Function
i have a few hundred access db which are password protected.. im trying to write this script which converts them to 2003 and unlocks them. any know how on this subject? i am having problems unlocking the file.
im using
DoCmd.RunCommand acCmdSetDatabasePassword
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.