|
错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] 语法错误。 在查询表达式 'fSubject = (SELECT fSubject FROM tBBS表 WHERE fID = 19, 22)' 中。
/mymembers/回复帖子.asp, 第 145 行
sql相关代码如下:
rsCurSub.Source = "SELECT * FROM tBBSubject表 WHERE fSubject = (SELECT fSubject FROM tBBS表 WHERE fID = " + Replace(rsCurSub__MMColParam, "'", "''") + ")"
rsCurSub.CursorType = 0
rsCurSub.CursorLocation = 2
rsCurSub.LockType = 1
我在传输fID的时候,出现两个数,19和22,19是现有的URL参数(我想要的),可是不知道为什么还有个22(多余的) ,我这里fID里面放的是自动编号的长整型数,MMColParam是Request.QueryString("fID") 请各位帮帮忙,很着急!!!!!!!! |
|