D
Dave K.
I am using an inputbox to input a password. How do I set the input to show
as ***** instead of actual text? my statement is as follows:
Private Sub Command7_Click()
Dim stPassword As String
stPassword = "Report"
If stPassword = InputBox("Please enter password", "Reports Interface
Box") Then
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "FrmReports"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_open_Reports_Form_Click:
Exit Sub
Err_open_Reports_Form_Click:
MsgBox Err.Description
Resume Exit_open_Reports_Form_Click
Else
MsgBox ("Wrong Password")
End If
End Sub
as ***** instead of actual text? my statement is as follows:
Private Sub Command7_Click()
Dim stPassword As String
stPassword = "Report"
If stPassword = InputBox("Please enter password", "Reports Interface
Box") Then
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "FrmReports"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_open_Reports_Form_Click:
Exit Sub
Err_open_Reports_Form_Click:
MsgBox Err.Description
Resume Exit_open_Reports_Form_Click
Else
MsgBox ("Wrong Password")
End If
End Sub