[求助这段代码有什么问题?
这段代码有什么问题吗?运行时总是找不到目标,请大家帮忙看一下if rights then
sql="select Rapidly_Topic.* , Rapidly_User.* from Rapidly_Topic,Rapidly_User where Rapidly_Topic.userName=Rapidly_User.userName and boardId="&boardId&" and topicId=" & topicId
else
sql="select Rapidly_Topic.* , Rapidly_User.* from Rapidly_Topic,Rapidly_User where Rapidly_Topic.userName=Rapidly_User.userName and isRecycled=false and boardId="&boardId&" and topicId=" & topicId
end if
rs.open sql,conn,1,1