hi Everyone,
I am having database error in the below piece of code.
IF SQLCA.SQLCODE <> 0 THEN
//If an error: notify the user
MessageBox("Database Error!", "Error while saving data to the database. Error message: [" +STRING(SQLCA.SQLCODE) + "] - " + SQLCA.SQLERRTEXT)
..............................................
Please help me what need to checked in database.
Actually I want simple login code
Username : text
Password ; text
button
when clicked button data get saved into the database(sql server 2012).
/*Powerbuilder ver 9 using */
- What is the code (last database call) before your IF statement?
- What shows your MessageBox (what SQLCode and what SQLErrText)?
The SQLCode and SQLErrText should you say what was wrong.