I was successful in creating HM log entries using the following sql statement on an ODBC connection to a "local computer" MS Access Database. (Windows 98 + Access 2000)
Insert into hmlog (testname, status, commentline) VALUES ('%TestName%', '%Status%', '%CommentLine1%')
I then used the following SQL and tried to insert log records into an .mdb MS Access file.
Insert into hmlog (testname, datetime, status, commentline) VALUES ('%TestName%', '%DateTime%', '%Status%', '%CommentLine1%')
This gave an error # of 4294967295 with an error messsage of: [Microsoft][ODBC Microsoft Access Driver]Syntax error in Insert Into Statement
The Access column datetime was defined as a date/time field. I tried with it defined as "text", and "numberic" and got bad results too. I also tried using the %Date% varialbe with no success.
Any suggestions?
Harley