Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Security issue regarding append/delete queries

Status
Not open for further replies.

emueller

Technical User
Jan 22, 2009
17
US
I have a network database with an archive table of records that are transferred and no longer in use. Aside from the Administrator, I only want those in the "Screening" group to be able to append records from the Active table to the Archive table.

The process involves two tables (Active and Archive) and two queries (Archive Append and Archive Delete), with the queries running through a macro (which first appends marked records to the Archive table, and then deletes the marked records from the active table). Records are tagged as "Transferred" (a check box), and the macro takes care of the rest.

Here's the issue. The Administrator can run this macro with no problems at all, but those in the Screening group cannot if they are not running from my computer terminal. I created a test account that only has Screening group permission, and it runs fine from my terminal, but anyone else gets an error that they do not have permission to append.

Could this have to do with my security.mdw file? All other desktops run the database through a shortcut that points to the security.mdw file (so as not to cause problems with other Access programs). The only workaround I've found is to give Administrator access to the few people in the Screening group, as I've tried giving full access to the applicable tables, queries, and macros -- but no change.

 
Did you try to add the WITH OWNERACCESS OPTION declarative to the SQL code of your two queries ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
That is something I've never heard of before... I'll certainly give it a try -- if I can figure out how to do it!!

Could you provide an example of appropriate syntax?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top