if request("currentpage")="" then
currentpage=1
sql = "select * from wh_bx_fwd where fwdh>'"&bxrq&"' and fwdh<'"&bxrq1&"' order by fwdh"
else
if request("bxrq2")="" then
currentpage=clng(request("currentpage"))
sql = "select * from wh_bx_fwd where fwdh>'"&fwdh&"' and fwdh<'"&bxrq1&"' order by fwdh"
else
currentpage=clng(request("currentpage"))
sql = "select * from wh_bx_fwd where fwdh>'"&bxrq&"' and fwdh<'"&bxrq1&"' order by fwdh"
end if
end if
set rs=server.CreateObject("adodb.recordset")
rs.Open sql,my_connection,1,3
就是这样的了。就在最后一句出错。