BroIgnatius
New Member

56 Posts |
Posted - 12 May 2007 : 01:53:03
|
Now I am getting a mismatch error on post.asp when a member tries to edit his own post:
Type mismatch: 'rs'
/spcdc/bbs/post.asp, line 647
post.asp has been modified with the Spell Checker.
here is the code surrounding line 647. Line 647 is in red:
quote:
if (strRqMethod = "EditTopic") then Dim MoveTopicAllowed if (mLev = 4) or (mLev = 3 and strMoveTopicMode = "0") or ((mLev = 3) and (strMoveTopicMode = "1") and (strAuthor = MemberID)) then MoveTopicAllowed = "1" else MoveTopicAllowed = "0" end if
Response.Write " <tr>" & vbNewLine & _ " <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Forum:</b></font></td>" & vbNewLine & _ " <td bgColor=""" & strPopUpTableColor & """>" & vbNewLine if mlev = 3 or mlev = 4 then Response.Write " <select name=""Forum"" size=""1"">" & vbNewLine end if '## Forum_SQL strSql = "SELECT C.CAT_NAME, F.CAT_ID, F.FORUM_ID, F.F_SUBJECT, F_PRIVATEFORUMS, F_PASSWORD_NEW " &_ " FROM " & strTablePrefix & "CATEGORY C, " & strTablePrefix & "FORUM F" &_ " WHERE F.F_TYPE = 0 " & _ " AND C.CAT_ID = F.CAT_ID " if mLev = 4 then '## Do Nothing else if MoveTopicAllowed = "1" then else strSql = strSql & " AND F.FORUM_ID = " & rs("FORUM_ID") end if end if
|
Edited by - BroIgnatius on 12 May 2007 02:15:28 |
|