I have a database which i will like to set a trial version for users to use after which they will not able to use the database when the time is over .
i googled and found these codes which i have tried and still not working.
i applied them on the onload event of the login form
"If Now() - 10 > CDate("2/7/2021") Then
MsgBox "Yo!"
DoCmd.Close acForm, Me.frm_login, acSaveNo
End If"
What didnt i do right. Kindly help.