Home > database >  Pb packaging after connection is not in the database
Pb packaging after connection is not in the database

Time:10-22

Pb compilation, after packaging, on the computer, a not install pb can install, but enter the user name and password, always show the user does not exist, and what is less,,

CodePudding user response:

You didn't write a judge database connection

CodePudding user response:

First, you need to configure you connect to the database file, specify the installation of computer database type, user name, password, etc.

[the DataBase InforMation]
MSS MS SQL Server DBMS='6. X'
The Database='
'UserId='
DatabasePassword=
LogPassword=
ServerName='
LogId='
The Lock='RU'
Prompt=0
The AutoCommit=true

In addition, you need to copy pb DLL that relate to the installation package, connect to the database,

CodePudding user response:

Even on the database?

CodePudding user response:

Post a detailed error message

CodePudding user response:

refer to the original poster pororo6 response:
pb compilation, packaging, on the computer, a not install pb can install, but enter the user name and password, always show the user does not exist, and what is less,,


Doubt is the database connection is successful, may be the connection parameters configuration has a problem, also may be due to a lack of DLL, refer to the following code

Connect using the sqlca;
If the sqlca. Sqlcode=0 then
//the connection is successful
The else
//database connection failure
Messagebox (' ', the sqlca. Sqlerrtext)
End the if
  • Related