Stevehewitt
IS-IT--Management
Hi Everyone,
I've come a little stuck. I've got a table called tblTransLog with 5 fields:
AuditID(auto no.), OrderRef, EventDesc, DateTime, Username
In this particular example, there is no OrderRef so it can be null. Also as AuditID is an autonumber I guess I can leave it alone and not try to put any input in. Oh, all fields are text (at the moment)
Code i've done is:
However I keep on getting a syntax error.
Any ideas?
Cheers,
Steve.
"They have the internet on computers now!" - Homer Simpson
I've come a little stuck. I've got a table called tblTransLog with 5 fields:
AuditID(auto no.), OrderRef, EventDesc, DateTime, Username
In this particular example, there is no OrderRef so it can be null. Also as AuditID is an autonumber I guess I can leave it alone and not try to put any input in. Oh, all fields are text (at the moment)
Code i've done is:
Code:
strsql = "Insert into tblTransactionLog (AuditID, OrderRef, EventDesc, DateTime, Username) values ("", "", "Global settings updated", #" & Now() & "#, '" & Environ("UserName") & "')"
However I keep on getting a syntax error.
Any ideas?
Cheers,
Steve.
"They have the internet on computers now!" - Homer Simpson