M
Mike P
I have a form "frmCopyRight" that is the display form when the database
opens. Inside the form load, I put a if statement with a quit the program
based on the criteria. The criteria seems to be always true and I've locked
myself out of the program! Any ideas how to get back into my code to remove
this?
The database has a password. I enter that correctly, then the MsgBox pops
up with the termination notice I wrote i my if. Here is the code.
Private Sub Form_Load()
If Date > "07/01/2009" Then
MsgBox "Major Error x077: Notify Mike " & Date, vbCritical,
"Termination Required"
DoCmd.Quit
End If
End Sub
I think I may have typed something odd in the If, cause I have tried
switching the data on my computer before I open the program using dates
greater than 7/1/09 and less than 7/1/09.
I am totally stuck!
opens. Inside the form load, I put a if statement with a quit the program
based on the criteria. The criteria seems to be always true and I've locked
myself out of the program! Any ideas how to get back into my code to remove
this?
The database has a password. I enter that correctly, then the MsgBox pops
up with the termination notice I wrote i my if. Here is the code.
Private Sub Form_Load()
If Date > "07/01/2009" Then
MsgBox "Major Error x077: Notify Mike " & Date, vbCritical,
"Termination Required"
DoCmd.Quit
End If
End Sub
I think I may have typed something odd in the If, cause I have tried
switching the data on my computer before I open the program using dates
greater than 7/1/09 and less than 7/1/09.
I am totally stuck!