Hey everyone!
I'm pretty new to VB and to database but I managed to make a login system work with my database. I'm using MySQL Workbench and a standard connection.
Now, I have a field in that database that is called VIP which is an INT, by default it's 0: not VIP, if it's 1: it's VIP.
now I want to make it so once the form loads, it checks if the database's account VIP field is either 0 or 1. If it's 0, isVIP becomes false, if it's 1 is becomes true.
How can I make that?
I'm pretty new to VB and to database but I managed to make a login system work with my database. I'm using MySQL Workbench and a standard connection.
Now, I have a field in that database that is called VIP which is an INT, by default it's 0: not VIP, if it's 1: it's VIP.
now I want to make it so once the form loads, it checks if the database's account VIP field is either 0 or 1. If it's 0, isVIP becomes false, if it's 1 is becomes true.
How can I make that?