Hello,
When I make a database I have done into an MDE one of the forms no longer works and gives the error "Can't perform operation since the project is protected."
Here is the code behind the control (a button) that does not work. Any idea's why? It works fine before protecting the form:
Kind Regards,
When I make a database I have done into an MDE one of the forms no longer works and gives the error "Can't perform operation since the project is protected."
Here is the code behind the control (a button) that does not work. Any idea's why? It works fine before protecting the form:
Code:
Private Sub Command36_Click()
On Error GoTo Err_Command36_Click
If Test_Date <> "" And Test_Version <> "" And Module <> "" And Test_Score <> "" And Invigilator <> "" Then
If Check32 = False Then AnswerE = MsgBox("You have not idicated if evidence of this test is in the file, please check with the tutor if there is no evidence of this test", vbInformation, "Warning")
'If Me.Dirty Then Me.Dirty = False
Me.ID = OpenArgs
DoCmd.Close
Else
AnswerA = MsgBox("You have not completed all of the required fields, please check. If unsure please confirm with the tutor.", vbExclamation, "Cannot Enter Test")
End If
Exit_Command36_Click:
Exit Sub
Err_Command36_Click:
MsgBox Err.Description
Resume Exit_Command36_Click
End Sub
Kind Regards,