Hello,
I got a syntax error and I have no idea where
my original code looks like this
the new code looks like this I added the second to last line
any help is always greatly appreciated it. This is driving me nuts!!!
I got a syntax error and I have no idea where
my original code looks like this
Code:
SQL = "UPDATE diary SET dte =" & Request.Form("dte") & ", " &_
" eTime= '" & ChkStr(Request.Form("tim")) & "', " & _
" text_field = '" & ChkStr(Request.Form("title")) & "', " & _
" details = '" & ChkStr(Request.Form("details")) & "', category = " & Request.Form("cat") & _
" WHERE id = " & Request.Form("ID")
my_conn.Execute SQL
the new code looks like this I added the second to last line
Code:
SQL = "UPDATE diary SET dte =" & Request.Form("dte") & ", " &_
" eTime= '" & ChkStr(Request.Form("tim")) & "', " & _
" text_field = '" & ChkStr(Request.Form("title")) & "', " & _
" details = '" & ChkStr(Request.Form("details")) & "', " & _
" category = '" & ChkStr(Request.Form("cat")) & "', image = " & Request.Form("image") & _
" WHERE id = " & Request.Form("ID")
my_conn.Execute SQL
any help is always greatly appreciated it. This is driving me nuts!!!