D
DHSBob
I am trying to password protect a form. I am terrible in coding and tried to
use the code from other posts but it didn't work. Here is the code for the
button to access the form. Would someone be kind enough to help me with this?
Private Sub Command13_Click()
On Error GoTo Err_Command13_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frm_Office Update"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command13_Click:
Exit Sub
Err_Command13_Click:
MsgBox Err.Description
Resume Exit_Command13_Click
End Sub
use the code from other posts but it didn't work. Here is the code for the
button to access the form. Would someone be kind enough to help me with this?
Private Sub Command13_Click()
On Error GoTo Err_Command13_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frm_Office Update"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command13_Click:
Exit Sub
Err_Command13_Click:
MsgBox Err.Description
Resume Exit_Command13_Click
End Sub