代办银行流水:GetRows加NextRecordset的问题

来源:百度文库 编辑:高考问答 时间:2024/04/29 15:02:58
sql=" SELECT TOP 10 NClassID,Specialid,NClass,Name FROM Special order by Specialid desc"
sql=sql&" SELECT TOP 4 SpecialID,NClassID,NClass,name,Yuyan,pic,Times FROM Special where IsGood=True order by Specialid desc "
sql=sql&" SELECT TOP 500 id,MusicName,Singer FROM MusicList where IsGood=True order by id desc "
set rs=conn.execute(sql)
arrA=rs.GetRows
set rs=rs.NextRecordset
arrB=rs.GetRows
set rs=rs.NextRecordset
arrC=rs.GetRows
rs.close
set rs=nothing
conn.close
set conn=nothing
rowsA=ubound(arrA,3)
rowsB=ubound(arrB,6)
rowsC=ubound(arrC,2)

我这样怎么不行??Microsoft JET Database Engine 错误 '80040e14'

ORDER BY 子句语法错误。
http://edu.chinaz.com/Get/Program/Asp/058232029299458135.asp

这文章说行的,难道是误导群众?

ASP不熟悉,不知道sql是不是能这样连起来一起query的..