Change to
'#################### Lock in place code #################################
if Request.Form("InPlace") = "1" then
strSQL = strSql & ", " & strTablePrefix & "TOPICS.T_INPLACE = 1"
else
strSQL = strSql & ", " & strTablePrefix & "TOPICS.T_INPLACE = 0"
end if
'#################### Lock in place code #################################
strSql = strSql & " WHERE " & strTablePrefix & "TOPICS.TOPIC_ID = " & Request.Form("TOPIC_ID")
my_Conn.Execute (strSql)
Philippe Gamache
http://www.tilttek.com
http://www.lapageamelkor.com