等级:新手上路 财产: 经验: 魅力: 注册:2006-9-25 文章:4 鉴定:保密
| |
| 求助啊! 我是一个初学者,下面代码运行总是执行"不能连接到数据库"而不能连接数据库!请高手指教! 在应用sfss的[open]事件中,加入代码// Profile sfss SQLCA.DBMS = "MSS Microsoft SQL Server 6.x" SQLCA.Database = "sfss" SQLCA.LogPass = "******" SQLCA.ServerName = "149.44.17.62" SQLCA.LogId = "sa" SQLCA.AutoCommit = False SQLCA.DBParm = "" connect using sqlca; if sqlca.sqlcode<>0 then messagebox("连接失败!","不能连接到数据库!") return else open(w_login) end if 进入w_login窗口 | |
|