The SQLCA. LogPass=& lt; * * * * & gt;
The SQLCA. ServerName="Yang"
The SQLCA. LogId="system"
The SQLCA. The AutoCommit=False
The SQLCA. DBParm=""
PB I set this when connected to the former but why ORA - 01017 error occurred in the login screen every time in the PB test database connection success why this interface operation error o tall person to give directions
CodePudding user response:
LogPassDon't give the asterisk
CodePudding user response:
Or there's no way the asterisk to the same mistakeCodePudding user response:
LogPass
The string
User password on the login to the database server, this property can be set up facility, but the Sybase and Oracle need to specify a password,
Example: this is a code needed to connect the Sybase database instance:
The sqlca. DBMS="Sybase"
The sqlca. Database="testdatabase"
The sqlca. Logid="lihongwei"
The sqlca. Logpass="lag"
The sqlca. Servername="jhc_server"
The sqlca. The autocommit=false
CodePudding user response:
SetPointer (hourglass!IF the PARENT. Wf_connect (sle_1. Text, sle_2. Text)=1 THEN
MessageBOx (" connect to database error!" , "connection failure" + sqlca. Sqlerrtext)
The HALT
The ELSE
Close (the PARENT)
Open (w_main)
END the IF
I in the log in button code
And made a login function
String ls_username ls_password, ls_database
Ls_username=trim (username)
Ls_password=trim (password)
IF ls_password="" THEN
The RETURN - 1
END the IF
The SQLCA. DBMS="O84 Oracle8/8 I (8. X. 4 +)"
The SQLCA. The AutoCommit=FALSE
Ls_database="ConnectString='DSN=SBGL;"
SQLCA. Dbparm=ls_database + ls_username "UID=" + + "; The PWD="+ ls_password +" '"
CONNECT USING the SQLCA;
RETURN the sqlca. SQLCode
Is always the mistakes
CodePudding user response:
The * * * * change password, & lt;> Switch to ""