Run-time Error 3112

G

Guest

I have the follow code and while running I received the next error. I have
full permisions for all objects of the database:

Run-time error '3112':
Record(s) cannot be read; no read permissions on 'qrySAPInterface'

Code:
Dim qd As QueryDef
Dim parUpToDate1 As Parameter
.....
Set qd = dbsloc.QueryDefs("qrySAPInterface")
Set parUpToDate1 = qd![forms!frmSAPInterface!txtUpToDate]
....

Please help
 
G

Guest

Check again the permission on the 'qrySAPInterface' query, if all permission
set correctly, try and run compact and repair on the MDB.
 
G

Guest

Dear Ofer,

I have already done this, without any success. Any other suggestions????

Thanks anyway

Stavros

Ofer said:
Check again the permission on the 'qrySAPInterface' query, if all permission
set correctly, try and run compact and repair on the MDB.
--
If I answered your question, please mark it as an answer. That way, it will
stay saved for a longer time, so other can benifit from it.

Good luck



Stavros Panayiotou said:
I have the follow code and while running I received the next error. I have
full permisions for all objects of the database:

Run-time error '3112':
Record(s) cannot be read; no read permissions on 'qrySAPInterface'

Code:
Dim qd As QueryDef
Dim parUpToDate1 As Parameter
.....
Set qd = dbsloc.QueryDefs("qrySAPInterface")
Set parUpToDate1 = qd![forms!frmSAPInterface!txtUpToDate]
....

Please help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top