Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Forms Coding > Being a Newbie!
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 41481 of 43412
Post > Topic >>

Being a Newbie!

by =?Utf-8?B?Ym1hY3Jvdw==?= <bmacrow@[EMAIL PROTECTED] > Aug 4, 2008 at 05:36 AM

Ok, i think im being a bit of a newbie here!

I am trying to get a form to show an extra button if a user logs in and is

part of the 'admins' group. I am using access 2000 and have user level 
security enabled.

In the load event of the form i have the following code:

'Private Sub Form_Open(Cancel As Integer) '
'Select Case GBL_UserGroup
'
'Case "Admins"
'Me.userman.Visible = True
'
'Case Else
'Me.userman.Visible = False
'
'
'
'End Select
'
'End Sub

Now this i code i found on the net and as you have probably guessed it
dont 
work!
i think the problem with the code rests at select case GBL_usergroup as
that 
is placeholder stuff possibly reffering to a table where user levels are 
kept, but cos i have user level security i dont have such a table. Am i 
missing a fundamental thing here, or is there an easy swap? .....HELP
GURUS 
:-)

Thanks in advance

Ben
 




 2 Posts in Topic:
Being a Newbie!
=?Utf-8?B?Ym1hY3Jvdw==?=   2008-08-04 05:36:00 
Re: Being a Newbie!
"Graham Mandeno"  2008-08-05 00:47:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 19:43:00 CST 2008.