You need to split the first line of your If statement into separate lines, otherwise the final End If has no corresponding If statement...
Code:
If Request("TopicHeader") = "true" then
TopicHeader = true
ELSE
TopicHeader = false
strSQL = "UPDATE [General] SET "
strSQL = strSQL & " [TopicOrder] = '" & Request("TopicOrder") & "',"
strSQL = strSQL & " [ForumTitle] = '" & Request("ForumTitle") & "',"
strSQL = strSQL & " [ForumDesc] = '" & Request("ForumDesc") & "',"
strSQL = strSQL & " [TopicHeader] = '" & Request("TopicHeader") & "',"
strSQL = strSQL & " [NumTopics] = '" & Request("NumTopics")& "',"
strSQL = strSQL & " [NumPosts] = '" & Request("NumPosts")& "',"
strSQL = strSQL & " [PassWord] = '" & Request("PassWord")& "'"
strSQL = strSQL & " WHERE [TopicID] = '" & Request("TopicID")& "'"
Conn.Execute(strSQL)
Response.Write strSQL
end if
Cheers,
Chris