Office中国论坛/Access中国论坛

标题: PB9.0连接sqlserver2000自定义事物出错 [打印本页]

作者: lingdud    时间: 2009-10-30 16:43
标题: PB9.0连接sqlserver2000自定义事物出错
本帖最后由 lingdud 于 2009-10-30 16:45 编辑

报错dbms is not supported in your current installation怎么解决?
代码
transaction dbtrans1
dbtrans1=create transaction
dbtrans1.DBMS = "ODBC"
dbtrans1.AutoCommit = False
dbtrans1.DBParm = "ConnectString='DSN=somonery;UID=WD='"
connect using dbtrans1;
if dbtrans1.sqlcode=0 then
messagebox("系统提示","写入成功!")
else
messagebox("系统提示","写入失败,请检查数据库连接!"+string(dbtrans1;.sqlcode)+string(dbtrans1;.DBParm))
end if
作者: lingdud    时间: 2009-10-31 08:52
// Profile song
SQLCA.DBMS = "MSS Microsoft SQL Server"
SQLCA.Database = "echisdb"
SQLCA.ServerName = "DELPHI1"
SQLCA.LogId = "sa"
SQLCA.AutoCommit = False
SQLCA.DBParm = ""
connect;能的连接上 换了函数就不能了
作者: tlvog    时间: 2011-8-27 08:00
绝对喜欢,好帖子不多哦,顶一下












www.byelu.com 办大专毕业证




欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) Powered by Discuz! X3.3