password protecting

C

Cameron

I was wondering can you password protect certain text
boxes on a form so that only admin can change whats
diplayed in that text box? I dont want the whole form
password protect as there some things i need to allow
changes be done by anyone.

TIA
 
A

Art

Hi Cameron
Set the Locked Property of those text boxes to
YES. Only you should be able to go into design view and
change them.

Hope This Helps
 
G

German Saer

Yes, you can.

OnCurrent Method of the form:

If CurrentUser = "Admin" Then
MyTextBox.Visible= False
Else
MyTextBox.Visible= True
End if

and that's it!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top