J
Jologs
Hi:
strSQL = "INSERT INTO tblLog (Username,logDate) VALUES ('" & txtUserName &
"', #" & txtLogDate & "#);"
I used the above code to update my tblLog. my problem is if the date is a
single digit, it inserts the date in reverse order. E.g. 03-Sep-2005, this
will be inserted to my tblLog as 09-Mar-2005. But if the dates are from 11
to 31, it works fine. I used the same format in the txtLogDate and logDate
(mmm-dd-yyyy", "hh:nn:ss ampm)
Thanks in advance.
strSQL = "INSERT INTO tblLog (Username,logDate) VALUES ('" & txtUserName &
"', #" & txtLogDate & "#);"
I used the above code to update my tblLog. my problem is if the date is a
single digit, it inserts the date in reverse order. E.g. 03-Sep-2005, this
will be inserted to my tblLog as 09-Mar-2005. But if the dates are from 11
to 31, it works fine. I used the same format in the txtLogDate and logDate
(mmm-dd-yyyy", "hh:nn:ss ampm)
Thanks in advance.