What do you mean about use the [ code ] [ /code ] tags in my code. only the Main in write by me. The other function is found in UDF library.

Thank you.

Anyway, I have try to use the real data in the main program. But I still appear error.

 Code:
;=======   M     a      i      n   ============
$objConn = DBConnOpen('DRIVER={Microsoft Access Driver (*.mdb)};UID=;PWD=;DBQ=test.mdb')
$retcode = DBExecuteSQL($objConn,"INSERT INTO iplog(Date,Time,Site,PCName,LogonDomain,UserID,MACAddress,IPAddress,Status) VALUES('2007/07/03','12:00:20','test','DEMO','\\DEMO','test','000E35B6E1FF','172.27.0.66','login')")
? $retcode
$retcode = DBConnClose($objConn)
? $retcode
;==================================



Edited by Richard H. (2007-07-03 05:54 PM)
Edit Reason: Added CODE tags