grahma_aiken
Registered User.
- Local time
- Today, 08:37
- Joined
- Apr 18, 2012
- Messages
- 10
Hi, first post - please be kind.
I have an insert query that looks like this:
DoCmd.RunSQL ("INSERT INTO DocTable ( FileID, DocType, DocTitle, DocStatus, DocSequence, DocCreationDate, DocCreationUser ) " & _
"SELECT " & intFileID & ", " & intDocType & ", " & Title & ", " & intStatus & ", " & intSequence & ", " & Date & ", " & intUser & ";")
Everything about this query works EXCEPT Date is not being written to the record - a time is and it isn't even the system time. I've used Date() a hundred times over in other queries and modules and haven't had this problem. Any ideas?
I have an insert query that looks like this:
DoCmd.RunSQL ("INSERT INTO DocTable ( FileID, DocType, DocTitle, DocStatus, DocSequence, DocCreationDate, DocCreationUser ) " & _
"SELECT " & intFileID & ", " & intDocType & ", " & Title & ", " & intStatus & ", " & intSequence & ", " & Date & ", " & intUser & ";")
Everything about this query works EXCEPT Date is not being written to the record - a time is and it isn't even the system time. I've used Date() a hundred times over in other queries and modules and haven't had this problem. Any ideas?