Hi.
I am trying to execute the following SQL statement, but I'm getting a syntax error
trouble_no is a number field
date is a date/time field
user is a text field
notes is a memo field
thanks!
I am trying to execute the following SQL statement, but I'm getting a syntax error
Code:
Dim strSQL As String strSQL = "INSERT INTO usr_problem_list " strSQL = strSQL & "(trouble_no, date, user, notes) " strSQL = strSQL & "VALUES (" & Text30.Value & ", '" & Now() & "', '" & user_name & "', '" & txtNotes & "');" DoCmd.RunSQL strSQL
date is a date/time field
user is a text field
notes is a memo field
thanks!
Comment