G
Guest
I have been trying to convert the following to handle text and date
datatypes, unsuccessfully.
This is on the On Click event of a command button on a form.
"INSERT INTO tblQuality (strStaffID, strRating, dtmErrorDate) " & _
"VALUES(" & Me!txtstaffID & ", " & Me!txtrating & "," & Me.dtmErrorDate ")"
I've played with adding single quotes to the test fields and # signs to the
date fields. So far, all I have succeeded at is Syntax errors.
Thank you in advance!
Renee
datatypes, unsuccessfully.
This is on the On Click event of a command button on a form.
"INSERT INTO tblQuality (strStaffID, strRating, dtmErrorDate) " & _
"VALUES(" & Me!txtstaffID & ", " & Me!txtrating & "," & Me.dtmErrorDate ")"
I've played with adding single quotes to the test fields and # signs to the
date fields. So far, all I have succeeded at is Syntax errors.
Thank you in advance!
Renee