楼上2位大哥,我对any where也不是很熟,对pb也是最近才搞的
呵呵,不对之处见谅了
如果你用pb+odbc,在application的script中的写:
SQLCA.DBMS=ProFileString("PB.ini","Database","DBMS","")
SQLCA.Database=ProFileString("PB.ini","Database","MyKaoHe","")
SQLCA.LogID=ProFileString("PB.ini","Database","LogID",""
SQLCA.LogPass=ProFileString("PB.ini","Database","LogPassWord","")
SQLCA.ServerName=ProFileString("PB.ini","Database","ServerName","")
SQLCA.UserID=ProFileString("PB.ini","Database","DBA","")
SQLCA.DBPass=ProFileString("PB.ini","Database","AAAAA","")
SQLCA.Lock=ProFileString("PB.ini","Database","Lock","")
SQLCA.DBParm=ProFileString("PB.ini","Database","DBParm","")
就可以了,起码我是这么做的