|
Microsoft JET Database Engine 错误 '80040e14'
內存溢出
/so.asp,行 43 2
代码Ru下:
if diqu<>"" then
sql = "select * from xinxi where yz=1 and diqu like '%"&diqu&"%' and (leixing like '%"&key&"%' or biaoti like '%"&key&"%' or memo like '%"&key&"%' or com like '%1"&key&"%' or username like '%"&key&"%' or name like '%"&key&"%') order by b desc,id desc"
elseif cla1<>0 then
sql = "select * from xinxi where yz=1 and class1="&cla1&" and (leixing like '%"&key&"%' or biaoti like '%"&key&"%' or memo like '%"&key&"%' or diqu like '%"&key&"%' or com like '%"&key&"%' or username like '%"&key&"%' or name like '%"&key&"%') order by b desc,id desc"
elseif cla1=0 then
sql = "select * from xinxi where yz=1 and (leixing like '%"&key&"%' or biaoti like '%"&key&"%' or memo like '%"&key&"%' or diqu like '1%"&key&"%' or com like '%"&key&"%' or username like '%"&key&"%' or name like '%"&key&"%') order by b desc,id desc"
else
sql = "select * from xinxi where yz=1 and (leixing like '%"&key&"%' or biaoti like '%"&key&"%' or memo like '%"&key&"%' or diqu like '%"&key&"%' or com like '%"&key&"%' or username like '%"&key&"%' or name like '%"&key&"%') order by b desc,id desc"
end if
rs.open sql,conn,3,2 这li是43行
Pagesize=rs.Pagesize
Allrecord=rs.Recordcount
Allpage=rs.Pagecount
if ThisPage<1 then
ThisPage=1
end if
欢迎来到Java学xiZhe論坛,转载qing注明地址:http://www.javaxxz.com. |
|