hmmm....i'm trying to remember all I changed but here is what I have on the updatefinish.asp page for the comments field.
Code:
sComments = replace(Request.Form("Comments" & nCounter),"'","''")
then
Code:
sSql = "update tblRollout set DistrictID = " & sDistrict & ", ToolID = " & sTool & ", RolloutShipped = " & sPMS & ",NewRequest = " & sNRS & ", NewCommit = " & sNCS & ", NewShip = " & sNSS & ", RolloutComments = '" & sComments & "' "
sSql = sSql & " WHERE ToolID=" & sTool & " and DistrictID=" & sDistrict & " "
I think without the HTMLEncode code in red in first post it would not allow the user to use single or double quotes but I'll take out the code in red and retry.
Bookmarks