标题:PB90+SQL Server2000连接问题!数据库文件配置?
取消只看楼主
cumtjack
Rank: 1
等 级:新手上路
帖 子:26
专家分:0
注 册:2005-11-19
 问题点数:0 回复次数:1 
PB90+SQL Server2000连接问题!数据库文件配置?

[DBMS_PROFILES]
Profiles=jxc
[Profile jxc]
DBMS=MSS Microsoft SQL Server
Database=jxc
UserId=
DatabasePassword=
LogId=sa
LogPassword=08032813
ServerName=yy3
DBParm=
Lock=
Prompt=FALSE
AutoCommit=FALSE
;服务器参数



//从INI文件读取连接数据库的参数
SQLCA.DBMS = ProfileString(gs_Profile,"DataBase","SQLCA.DBMS","")
SQLCA.ServerName = ProfileString(gs_Profile,"DataBase","SQLCA.ServerName","")
SQLCA.DataBase = ProfileString(gs_Profile,"DataBase","SQLCA.DataBase","")
SQLCA.LogPass = ProfileString(gs_Profile,"DataBase","SQLCA.LogPassword","")
SQLCA.LogId = ProfileString(gs_Profile,"DataBase","SQLCA.LogId","")
SQLCA.AutoCommit = False
SQLCA.DBParm = ""
Connect using SQLCA; //连接数据库


运行不通过?请教一下

搜索更多相关主题的帖子: SQL 数据库 文件 
2007-01-22 15:49
cumtjack
Rank: 1
等 级:新手上路
帖 子:26
专家分:0
注 册:2005-11-19
得分:0 
数据库连接失败

2007-01-22 16:16



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-117497-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.046108 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved