Hi! I tried creating a log-in screen that is connected to a database from the examples I've seen on the net.
The thing is, I wanted to put a function where the user can only log in if the account is not yet expired.
for that, I've put a datefield in the db, but don't know how to put the function in the log-in screen.
How do I check if the Expiration date is not today?
Dim login As String
login = "Select * from usernames where Username = '" & TextBox2.Text & "' and [Password] = '" & TextBox1.Text & "' "
executesql(login)
I hope anyone can take their time to answer my problem >.< thank you in advance to those people.