Home > database >  Set up in powerbuider9.0 login, registration problems
Set up in powerbuider9.0 login, registration problems

Time:09-28

I use powerbuider 9.0 set up a login interface, but the login of the user must be already set well in the SQL
The user can log in, if the login user is not in SQL, how to set up registration for new users? Be badly in need of code
thank you

CodePudding user response:

Can do a user registration function,

Also can consider to set up a user management function is used to manage already registered user or register a new user,

CodePudding user response:

shi de

CodePudding user response:

The user into the users table can ah

CodePudding user response:

Want to save the integrity of the user to insert a record in the table is ok

CodePudding user response:

But I did a login interface, is now want to learn how to judge the SQL database, do not have this user

CodePudding user response:

How to judge the SQL database, not the user?


Using a select statement judge!!!!!! Is there any other way?

CodePudding user response:

Select the username into: u from tuser where name=: sle_1. Text;
If the sqlca. Sqlcode=100 then
//not the user
end if
  • Related