Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Access VBA log in control

Hi

I want to set up a fresh database that controls user logins on the main form that opens when the database first opens. I am just looking for some advice on how to do this. What code would I use and in what form events should I use it?

Thanks
SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murray Brown

ASKER

Thanks very much
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Gustav's comment about using AD is one of the ways I do it.  It is easy to assign users to roles or groups in AD, and you can then query the AD to determine whether users are in the correct groups.  You might want to take a look at my article on this topic.
Thanks for the extra info