Home > database >  Pb SQL database connection problem
Pb SQL database connection problem

Time:10-04

String ls_inifile="dsmis. Ini"
Sqlca. DBMS=ProfileString (ls_inifile, "database", "DBMS", "")
The sqlca. Database=ProfileString (ls_inifile, "database", "database", "")
The sqlca. Logid=ProfileString (ls_inifile, "database", "logid", "")
The sqlca. Logpass=ProfileString (ls_inifile, "database", "LogPassWord", "")
The sqlca. Servername=ProfileString (ls_inifile, "database", "servername", "")
The sqlca. Dbparm=ProfileString (ls_inifile, "database", "dbparm", "")
The sqlca. UserId=ProfileString (ls_inifile, "database", "userId", "")
The sqlca. DBPass=ProfileString (ls_inifile, "database", "DBPass", "")
The sqlca. Lock=ProfileString (ls_inifile, "database", "Lock", "")
The sqlca. The autocommit=false;
Connect using the sqlca;
If the sqlca. Sqlcode & lt;> 0 then
Messagebox (" database connection ", the sqlca sqlerrtext)
Return
The else
Open (mian)
End the if
Run time prompted the DBMS MSS is not supported in your current installation
What is you help me to look at this error,

CodePudding user response:

May be the DLL is not complete

CodePudding user response:

up

CodePudding user response:

The file is not complete, little library

CodePudding user response:

Have a corresponding database

CodePudding user response:

On the local computer has installed the sql2000. And it also established the corresponding database

CodePudding user response:

See your dsmis. INI configuration file DMS=* * * * * * this item, whether to fill in the correct!

CodePudding user response:

Your dsmis. Ini file content to see
  • Related