|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
PasswordsI would like ******** to appear as the Password is entered, not the actual Password being typed. Is there any way I can do this? Thanks fo any help Private Sub MEMBERS_FORM_Click() On Error GoTo Err_MEMBERS_FORM_Click Dim stDocName As String stDocName = "MEMBERS INFORMATION" If InputBox("Please Enter Password") = "benyror" Then DoCmd.OpenReport stDocName, acPreview Else MsgBox "Sorry, Incorrect Password" End If Exit_MEMBERS_FORM_Click: Exit Sub Err_MEMBERS_FORM_Click: MsgBox Err.Description Resume Exit_MEMBERS_FORM_Click End Sub Not with an input box, no. You'll have to create your own unbound form.
You can set the input mask on a textbox to password to mask the characters. -- Show quoteHide quoteJoan Wild Microsoft Access MVP Roger Bell wrote: > I have written the following OnClick Event Procedure. It works well, > except I would like ******** to appear as the Password is entered, > not the actual Password being typed. Is there any way I can do this? > Thanks fo any help > > Private Sub MEMBERS_FORM_Click() > On Error GoTo Err_MEMBERS_FORM_Click > > Dim stDocName As String > > stDocName = "MEMBERS INFORMATION" > If InputBox("Please Enter Password") = "benyror" Then > DoCmd.OpenReport stDocName, acPreview > Else > MsgBox "Sorry, Incorrect Password" > End If > > Exit_MEMBERS_FORM_Click: > Exit Sub > > Err_MEMBERS_FORM_Click: > MsgBox Err.Description > Resume Exit_MEMBERS_FORM_Click > > End Sub Thanks for that Joan.
Would you be able to guide me in the right direction? Show quoteHide quote "Joan Wild" wrote: > Not with an input box, no. You'll have to create your own unbound form. > You can set the input mask on a textbox to password to mask the characters. > > -- > Joan Wild > Microsoft Access MVP > > Roger Bell wrote: > > I have written the following OnClick Event Procedure. It works well, > > except I would like ******** to appear as the Password is entered, > > not the actual Password being typed. Is there any way I can do this? > > Thanks fo any help > > > > Private Sub MEMBERS_FORM_Click() > > On Error GoTo Err_MEMBERS_FORM_Click > > > > Dim stDocName As String > > > > stDocName = "MEMBERS INFORMATION" > > If InputBox("Please Enter Password") = "benyror" Then > > DoCmd.OpenReport stDocName, acPreview > > Else > > MsgBox "Sorry, Incorrect Password" > > End If > > > > Exit_MEMBERS_FORM_Click: > > Exit Sub > > > > Err_MEMBERS_FORM_Click: > > MsgBox Err.Description > > Resume Exit_MEMBERS_FORM_Click > > > > End Sub > > > See these knowledge base articles:
http://support.microsoft.com/?id=209871 http://support.microsoft.com/?id=179371 -- Show quoteHide quoteJoan Wild Microsoft Access MVP Roger Bell wrote: > Thanks for that Joan. > Would you be able to guide me in the right direction? > > "Joan Wild" wrote: > >> Not with an input box, no. You'll have to create your own unbound >> form. You can set the input mask on a textbox to password to mask >> the characters. >> >> -- >> Joan Wild >> Microsoft Access MVP >> >> Roger Bell wrote: >>> I have written the following OnClick Event Procedure. It works >>> well, except I would like ******** to appear as the Password is >>> entered, not the actual Password being typed. Is there any way I >>> can do this? Thanks fo any help >>> >>> Private Sub MEMBERS_FORM_Click() >>> On Error GoTo Err_MEMBERS_FORM_Click >>> >>> Dim stDocName As String >>> >>> stDocName = "MEMBERS INFORMATION" >>> If InputBox("Please Enter Password") = "benyror" Then >>> DoCmd.OpenReport stDocName, acPreview >>> Else >>> MsgBox "Sorry, Incorrect Password" >>> End If >>> >>> Exit_MEMBERS_FORM_Click: >>> Exit Sub >>> >>> Err_MEMBERS_FORM_Click: >>> MsgBox Err.Description >>> Resume Exit_MEMBERS_FORM_Click >>> >>> End Sub
User level security-- do not have necessary permissions
restrict combo box selection depending on user Opening a previously secured database Access 2003 security warnings Inner Joins Problem switching between Workgroups Warehouse personnel can't get the needed form - just the backgroun Access security question how to change a name in "msysaccounts"? Programically redirecting to different mdw files |
|||||||||||||||||||||||