PC Review


Reply
Thread Tools Rate Thread

disable field/control on form (dependent on user/group)

 
 
jaworski_m
Guest
Posts: n/a
 
      21st Dec 2008
Hello,
Is there a way to disable a field(s) on a form when a user from a certain
group is logged in (not a single user)?

If the function "currentUser()" is used, every time a new user is added vba
code must be modified which is not very convenient.

Thank you for suggestions.

 
Reply With Quote
 
 
 
 
Joan Wild
Guest
Posts: n/a
 
      21st Dec 2008
The security FAQ contains sample code for a function to see if the current
user is a member of a certain group.
http://support.microsoft.com/?id=207793


--
Joan Wild
Microsoft Access MVP
"jaworski_m" <(E-Mail Removed)> wrote in message
news:F0D78CCD-09F0-4510-9129-(E-Mail Removed)...
> Hello,
> Is there a way to disable a field(s) on a form when a user from a certain
> group is logged in (not a single user)?
>
> If the function "currentUser()" is used, every time a new user is added
> vba
> code must be modified which is not very convenient.
>
> Thank you for suggestions.
>


 
Reply With Quote
Reply

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable/Disable a Control in a Form Based on Security Group Permiss =?Utf-8?B?QmVuUw==?= Microsoft Access VBA Modules 5 3rd Jul 2007 05:46 PM
Enable/Disable a Control in a Form Based on Security Group Permiss =?Utf-8?B?QmVuUw==?= Microsoft Access Form Coding 5 3rd Jul 2007 11:18 AM
Enable/Disable a Form Control Based on Security Group Permissions BenS Microsoft Access Form Coding 1 3rd Jul 2007 01:07 AM
Enable/Disable a Form Control Based on Security Group Permissions BenS Microsoft Access Security 1 2nd Jul 2007 10:16 PM
Page dependent on values is user control =?Utf-8?B?TmV0IERldmVsb3Blcg==?= Microsoft ASP .NET 1 1st Jun 2005 03:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:57 AM.