hello all,
I have a question about assigning variables values based on values stored inside an sql database. I have the connection part down, but here is my basic set-up.
I have a table with the values {username, password, isAdmin}, where username and password are strings and "isAdmin" is a bit variable. I am able to read in the username and password entered by the user and match it to the database fine, however I would like to also read in the "isAdmin" and set it to a local Boolean variable that will then direct the user to the proper form.
Can anyone help me with this? I can post what code I have if it will be any help.
Many thanks!