阅读背景:

需要检查数据库中的值以相应地打开表单

来源:互联网 

I'm a bit amateur and a beginner in database and queries. What I want to do is I have a table with username and password and a usertype column. After username and password is checked I want to check the value in usertype and see if it is 1 the program will open up the form with admin privileges if the usertype is 2 then the I want to open up the form without admin privileges. I can't figure out how I will pass a query which will compare the usertype value I'm a bit amateur and a beginner in database an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: