Why the hell would you want to corrupt a database??????
Hi Dcrake I just want to disable my database while I am leaving, for that reason only I am asking the same.
Khalid it's not that matter
If you guys have something (magic code) please do let me know.
Hi DCrake,
This is my own database and it will not take me anywhere to legal action please don't take it serious. I am just looking for a help from you guys if you have something. My intention is to know only if there is any code for that one.
Do you have something?![]()
If Date() >= #01/01/2011# ' or whatever date you want to have
MsgBox "Your License for this product has expired",vbCritical+VbOkOnly,"Access Denied"
DoCmd.Quit
End If
Hi David!Make sure you set the AllowByPassKey to False first.
Hi David,
I tried somhow like this but didn't work.
Private Sub Form_Load()
If Date() >= #3/29/2010# then
MsgBox "Your License for this product has expired", vbCritical + vbOKOnly, "Access Denied"
DoCmd.Quit
End If
End Sub
Please advise.