Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password

Status
Not open for further replies.

Molson

Programmer
May 10, 2000
13
GB
Is there anyway to only password a form in access or has anyone any VBA coding for this
 
Do you mean that everything else has unlimited access and that there would have to be a password entered to open a certain form? If so I don't but would be interested in finding out the answer also. <p>Walt III<br><a href=mailto:SAElukewl@netscape.net>SAElukewl@netscape.net</a><br><a href=
 
This is not real secure but will fool less experienced users<br>place this in the onload event of your form<br>Dim pword As String<br>pword = InputBox(&quot;enter password&quot;)<br><br>If pword = &quot;password&quot; Then<br>Me.Visible = True<br>Else<br>DoCmd.Close<br>MsgBox &quot;Wrong&quot;<br>End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top