J
J. Kando 411
HI!
I have the regular split in my Access 2000 application: The application in
one file and the data in another. All tables are linked. At least this is how
it is when I work locally. When the application is on the network/(in
production) the tables are in SQL Server and linked via ODBC.
The application works fine when I work locally, but on the network I get
‘Runtime error ‘70’: Permission Denied’ when I try to run this statement:
Set db = CurrentDB ‘ have: dim db as DAO.Database
(tried both DAO.Database and Database)
(Same error on:
Set qdf = CurrentDb.CreateQueryDef("") ‘Dim qdf As QueryDef
)
The user granted rights to all tables in the sqlserver is the same granted
rights to access the database for the ODBC connection.
Does anybody have any idea what the error could be?
Thanks,
J.K.
I have the regular split in my Access 2000 application: The application in
one file and the data in another. All tables are linked. At least this is how
it is when I work locally. When the application is on the network/(in
production) the tables are in SQL Server and linked via ODBC.
The application works fine when I work locally, but on the network I get
‘Runtime error ‘70’: Permission Denied’ when I try to run this statement:
Set db = CurrentDB ‘ have: dim db as DAO.Database
(tried both DAO.Database and Database)
(Same error on:
Set qdf = CurrentDb.CreateQueryDef("") ‘Dim qdf As QueryDef
)
The user granted rights to all tables in the sqlserver is the same granted
rights to access the database for the ODBC connection.
Does anybody have any idea what the error could be?
Thanks,
J.K.