Home > Back-end >  Delphi login permissions
Delphi login permissions

Time:09-23

SQL user table and DELPHI screenshot below
How to set the permissions on the change of the VISIBLE through the data in a mene_access

CodePudding user response:

Login permissions Settings, how do you write code, and through MENU_ACCESS, 1 s and 0 s,

CodePudding user response:

//determine database inside have a user name and password;
SQL:='select * from administrative authority where users=' + # 39 + TempName + # 39 + 'and password=' + # 39 + TempSN + # 39;
DataModule1. ClientDataSet1. Active:=False;
DataModule1. ClientDataSet1. DataRequest (SQL);
DataModule1. ClientDataSet1. Active:=True;
If DataModule1. ClientDataSet1. RecordCount> 0 then
To enter the next step, or quit,

  • Related