I know this may sound a very simple and obvious question but I have had an error whilst updating a table that has caused me to question the obvious.
What is the best data type for storing textural/ numerical input from a user (a bit like a memo field).
The error I got was
The code arounb line 356 is
Anything obvious?
any help much appreciated
TabbyTab
What is the best data type for storing textural/ numerical input from a user (a bit like a memo field).
The error I got was
Code:
Microsoft OLE DB Provider for SQL Server error '80040e14'
Line 1: Incorrect syntax near 't'.
/questionnaire.asp, line 356
The code arounb line 356 is
Code:
Set altConnection = CreateObject("ADODB.Connection")
altConnection.Open strConn
For xx = 1 to 7
If Len(Request.Form("txtField" & cStr(xx)) & "") <> 0 Then
strSQL = "UPDATE tblResultsDataWrittenComments SET "
strSql=strSql+"txtWrittenComment = '" & Request.Form("txtField" & cStr(xx)) & "' "
strSQL=strSQL+" WHERE(((intDelegate_obj_no)='" &Request.Form ("intDelegate_obj_no") &" ') AND ((intPerson_obj_no)=' " & (intPerson_obj_no) & " ') AND ((intWC_obj_no)=' " & cStr(xx) &" '))"
altConnection.Execute (strSQL)
End If
Next
altConnection.Close
set altConnection = Nothing
Anything obvious?
any help much appreciated
TabbyTab