运行程序出现如下错误提示:
Microsoft VBScripte 执行阶段错误 '800a01a8'
此处需要物件: ''
列164
列l64,附近代码如下(在此第四行即为列164):
<%
do while Not rsChamber.EOF
Set rsBooking = Server.CreateObject("ADODB.Recordset") SqlBooking="SELECT IIf(cint((csng(startdate)-csng(cdate(left(cdate('"&nowdate&"'),10))))*24)*4+295>295,cint((csng(startdate)-csng(cdate(left(cdate('"&nowdate&"'),10))))*24)*4+295,295) AS start, IIf(cint((csng(enddate)-csng(cdate(left(cdate('"&nowdate&"'),10))))*24)*4+295<967,cint((csng(enddate)-csng(cdate(left(cdate('"&nowdate&"'),10))))*24)*4+295,967) AS [end], * FROM AllBooking WHERE (enddate>=left(cdate('"&nowdate&"'),10) And startdate<left(cdate('"&nowdate&"')+7,10)) and ID='"&rsChamber("ID")&"' ORDER BY StartDate"
%>
大侠,帮我看看,我每个字都看了,就是没有发现哪个地方需要'', 谢谢!急