Chat with a LIVE Microsoft Access Expert!
 
       
 

         

   

Go Back   Access World Forums > Microsoft Access Discussion > Forms

 
 
Chat with a LIVE Microsoft Access Expert!
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-16-2007, 12:09 PM
mafhobb mafhobb is offline
Registered User
 
Join Date: Feb 2006
Posts: 317
mafhobb is on a distinguished road
Security issues between groups

There are two tables and two forms. One table is secured to be used by one security group and the other one by a second group.

The problem comes when I need the 2nd group to update one, and only one field in the 1st group's form/table. To do this, I have one unbound text box and a macro on a button that uses the setvalue function to equal the value of the text box in the 2nd group's form to the value of the text box in the first group.

With all the security removed, the macro works well and it updates everything well, but when security is enabled, I get the message "This recordset is not updateable"

Obviously this has something to do with the tables permissions. Is there any way around this problem that does not involve giving full control of all table to the 2nd group? Can the macro be modified to override security once it is activated and then go back to normal?

Thanks

Mafhobb
Reply With Quote
Sponsored Links
  #2  
Old 08-06-2007, 03:28 AM
Guus2005's Avatar
Guus2005 Guus2005 is offline
Clueless...
 
Join Date: Jun 2007
Location: The Netherlands
Posts: 1,616
Guus2005 will become famous soon enough
Perhaps using a macro (which i never use) you can temporary add a security group to the user. This security group contains only this specific security feature. When done simply remove this group from this user.
Reply With Quote
  #3  
Old 08-08-2007, 03:19 PM
mafhobb mafhobb is offline
Registered User
 
Join Date: Feb 2006
Posts: 317
mafhobb is on a distinguished road
This sounds like an interesting proposition...Any idea on how to do it with a macro, or any other means?

mafhobb
Reply With Quote
  #4  
Old 08-08-2007, 10:47 PM
Guus2005's Avatar
Guus2005 Guus2005 is offline
Clueless...
 
Join Date: Jun 2007
Location: The Netherlands
Posts: 1,616
Guus2005 will become famous soon enough
did you search the internet? I would have to do so to answer your question. I'd rather liked you did.
Reply With Quote
  #5  
Old 08-08-2007, 11:16 PM
Guus2005's Avatar
Guus2005 Guus2005 is offline
Clueless...
 
Join Date: Jun 2007
Location: The Netherlands
Posts: 1,616
Guus2005 will become famous soon enough
Ok, i did it. Create a new workspace:
Code:
Set HighLevelSecurityWorkspace = CreateWorkspace(Dummyname, Dummyuser, password, type)
Using this workspace you can do anything you want if the DummyUser belongs to a specific group designed for this purpose.

HTH
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security and Deployment configuration issues Ayat General 2 01-02-2006 03:35 PM
Security issues jules01 General 1 08-31-2005 08:17 AM
security issues!!! plz help!!! shy216 General 1 07-22-2005 06:20 AM
help with security issues!!! shy216 General 1 07-22-2005 01:59 AM
Access security issues bebridge General 0 10-03-2004 07:40 AM


All times are GMT -8. The time now is 10:01 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) copyright 2009 Access World