A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Password question, please help :)



 
 
Thread Tools Display Modes
  #1  
Old April 15th, 2009, 08:11 PM posted to microsoft.public.access.tablesdbdesign
Alberta Rose
external usenet poster
 
Posts: 39
Default Password question, please help :)

I have a switchboard with three buttons on it. I would like to password
protect one of the buttons because it is for administrator use only. How do
I do this?

Thanks.

  #2  
Old April 15th, 2009, 09:29 PM posted to microsoft.public.access.tablesdbdesign
Beetle
external usenet poster
 
Posts: 1,254
Default Password question, please help :)

Use something like the following in the button's Click event code.

If InputBox("Enter a password") = "YourPasswordHere" Then
'the procedure code for the button goes here
Else
MsgBox "Invalid password. Operation cancelled."
End If
--
_________

Sean Bailey


"Alberta Rose" wrote:

I have a switchboard with three buttons on it. I would like to password
protect one of the buttons because it is for administrator use only. How do
I do this?

Thanks.

  #3  
Old April 16th, 2009, 06:38 PM posted to microsoft.public.access.tablesdbdesign
Daniel Pineault
external usenet poster
 
Posts: 658
Default Password question, please help :)

Take a look at

http://support.microsoft.com/kb/209871/en-us

everthing you need is there.
--
Hope this helps,

Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.



"Alberta Rose" wrote:

I have a switchboard with three buttons on it. I would like to password
protect one of the buttons because it is for administrator use only. How do
I do this?

Thanks.

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:37 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.