B
Bert
Hi, Ive just taken over someones role as application developer and I have a
problem accessing an Access 97 database. Ive found the password to get into
the database but as soon as I try and view data or change a table I get a
message
"Couldn't read definitions; no read definitions permissions for table or
query ....."
Now we use visual basic to access the data on this database and when its
creating the link to the database it is doing
' set db security file
If fso.FileExists(App.Path & "\bin\SECURITY.MDW") = True Then
SystemDB = App.Path & "\bin\SECURITY.MDW"
DBEngine.SystemDB = App.Path & "\bin\SECURITY.MDW"
DBEngine.DefaultUser = "vveadministrator"
DBEngine.DefaultPassword = "4EsZ99hN9IjN"
' Create Microsoft Jet Workspace object.
Set wrkSystemJet = DBEngine.CreateWorkspace("",
"vveadministrator", "4EsZ99hN9IjN", dbUseJet)
' Open Database object from saved Microsoft Jet database
Set dbSystemDatabase = wrkSystemJet.OpenDatabase(DATABASEPATH,
False, False, ";pwd=Zs05Gty83Mpl;")
End If
So Im presuming the default user and password enable read definitions to
occur, but is there a way of me getting into Access with this user and
password or do I have to relog into windows as this user or ??
Any pointers would be gratefully recieved
problem accessing an Access 97 database. Ive found the password to get into
the database but as soon as I try and view data or change a table I get a
message
"Couldn't read definitions; no read definitions permissions for table or
query ....."
Now we use visual basic to access the data on this database and when its
creating the link to the database it is doing
' set db security file
If fso.FileExists(App.Path & "\bin\SECURITY.MDW") = True Then
SystemDB = App.Path & "\bin\SECURITY.MDW"
DBEngine.SystemDB = App.Path & "\bin\SECURITY.MDW"
DBEngine.DefaultUser = "vveadministrator"
DBEngine.DefaultPassword = "4EsZ99hN9IjN"
' Create Microsoft Jet Workspace object.
Set wrkSystemJet = DBEngine.CreateWorkspace("",
"vveadministrator", "4EsZ99hN9IjN", dbUseJet)
' Open Database object from saved Microsoft Jet database
Set dbSystemDatabase = wrkSystemJet.OpenDatabase(DATABASEPATH,
False, False, ";pwd=Zs05Gty83Mpl;")
End If
So Im presuming the default user and password enable read definitions to
occur, but is there a way of me getting into Access with this user and
password or do I have to relog into windows as this user or ??
Any pointers would be gratefully recieved