public prgpath,nhandle
prgpath=JUSTPATH(SYS(16,1))
SQLSETPROP(0,"displogin",3)
Create Connection ts Connstring "DSN=MS Access Database;DBQ="+prgpath+"\DATA\db1.mdb;DefaultDir="+prgpath+"\DATA;DriverId=25;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;PWD=admin;UID=admin;"
nhandle=SQLConnect("ts")
请帮忙看下,谢谢