救急!有关ODBC的问题
我用的是Access数据库,用PB连接时出现
catalog tables could not be created and are not abailable for use
在运行时出现如下错误提示
select error:SQLTATE=07001
[Microsoft][ODBC Microsoft Access 驱动程序]参数不足,期待是1
我的代码是:
SQLCA=create Transaction
SQLCA.DBMS="ODBC"
SQLCA.Autocommit=False
SQLCA.DBPARM="comectstring='DSN'=tspbl'"
connect using sqlca
if sqlca.sqlcode<0 then
return()
end if
open (main)