hey guys,
Have a quick question. The Sql statement below works.
SQlstmt = "Update tblopgaCom2 Set "
SQLStmt = SQlstmt & "comments ='" & "" & "',"
SQLStmt = SQlstmt & "priorcomments ='" & Strpriorcomments & "."&" "& ";" & vbcrlf & Strcomments & "',"
SQLStmt = SQlstmt & "updDate=#" & Date & "# "
SQLStmt = SQlstmt & " Where Test =" & Test
Conn.Execute(SQLStmt)
however I need to add another line after theline with the date statement which is
SQLStmt = SQlstmt & "Time =#" & time() & "# "
But when I do that I get a (Syntax error (missing operator) in query expression). Can anyone pls tell me what I am missing out
Have a quick question. The Sql statement below works.
SQlstmt = "Update tblopgaCom2 Set "
SQLStmt = SQlstmt & "comments ='" & "" & "',"
SQLStmt = SQlstmt & "priorcomments ='" & Strpriorcomments & "."&" "& ";" & vbcrlf & Strcomments & "',"
SQLStmt = SQlstmt & "updDate=#" & Date & "# "
SQLStmt = SQlstmt & " Where Test =" & Test
Conn.Execute(SQLStmt)
however I need to add another line after theline with the date statement which is
SQLStmt = SQlstmt & "Time =#" & time() & "# "
But when I do that I get a (Syntax error (missing operator) in query expression). Can anyone pls tell me what I am missing out