DAO Snapshot does not have sufficient rights

T

Terry

In Access 2002 the line
Set Sn = CurrentDb.OpenRecordset(sqlText, dbOpenSnapshot)
only works when the admin user has the required access rights. If the Admin
user has no rights to the database this line errors. If the Admin user has
Open rights the error message says no rights to the table involved.

1. Am I correct in thinking OpenRecordset uses a separate 'connection' (I
say 'connection' as the table concerned is not a linked table) to the
database and that it does this as Admin user?

2. How do I open a recordset with the same priveliges as the current user?
(The database does not have linked tables so no Connect sting is relevant.

Or am I misunderstanding something?
 

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