Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 problem with quick reply
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

aviv
Junior Member

474 Posts

Posted - 06 May 2002 :  11:45:00  Show Profile  Visit aviv's Homepage
i'm getting this error:
Microsoft JET Database Engine error '80040e14'

Syntax error in INSERT INTO statement.

/test33/post_info.asp, line 882

---------------------
the red is line 882:
' DEM --> End of Code added
strSql = strSql & ", " & Request.Form("strMessageIcon")
strSql = strSql & ", " & "'" & txtMessage & "'"
strSql = strSql & ")"

my_Conn.Execute (strSql)


' DEM --> Do not update totals on topics and forums database if post is moderated...Added if and end if
if Moderation = "No" then
'## Forum_SQL - Update Last Post and count
strSql = "UPDATE " & strActivePrefix & "TOPICS "
strSql = strSql & " SET T_LAST_POST = '" & DateToStr(strForumTimeAdjust) & "'"
strSql = strSql & ", T_REPLIES = T_REPLIES + 1 "
strSql = strSql & ", T_LAST_POST_AUTHOR = " & rs("MEMBER_ID")
if Request.Form("lock") = 1 then
strSql = strSql & ", T_STATUS = 0 "
end if
strSql = strSql & " WHERE TOPIC_ID = " & Topic_ID

-------------------------

ThanX
Aviv
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07