C
Charlie
Is there a way to add the input mask for the password in this code?
Dim stPasswd
Dim stDocName As String
stPasswd = InputBox("Enter Password", "Restricted Report")
stDocName = "usys_rptRepReport"
If stPasswd = "" Or stPasswd = Empty Then
MsgBox "No Input Provided", vbInformation, "Required Data"
Exit Sub
End If
If stPasswd = "PASSWORD" Then
DoCmd.OpenReport stDocName, acPreview
Else
MsgBox "Incorrect Password", vbOKOnly, "Incorrect Password!"
Exit Sub
End If
Dim stPasswd
Dim stDocName As String
stPasswd = InputBox("Enter Password", "Restricted Report")
stDocName = "usys_rptRepReport"
If stPasswd = "" Or stPasswd = Empty Then
MsgBox "No Input Provided", vbInformation, "Required Data"
Exit Sub
End If
If stPasswd = "PASSWORD" Then
DoCmd.OpenReport stDocName, acPreview
Else
MsgBox "Incorrect Password", vbOKOnly, "Incorrect Password!"
Exit Sub
End If