K
Kevin
Hi,
With this, i get the error:
" Microsoft VBScript runtime error '800a01ca'
Variable uses an Automation type not supported in VBScript "
at line 79
<%
totintot=request.cookies("totintot")
....
sql = "select count(*) as totuur from studres where dag>= curdate() group by
logon having logon='" & lol & "';" Set rs = objdc.execute(sql)
if rs.eof then
totu=0
else
rsArray = rs.GetRows()
totu = rsArray(0,0)
end if
if int(totu)>=int(totintot) then flgmax=1 'this is line 79
rs.close
%>
With this : if totu>=int(totintot) then flgmax=1 => type mismatch
Any idea?
Thanks
Chris
With this, i get the error:
" Microsoft VBScript runtime error '800a01ca'
Variable uses an Automation type not supported in VBScript "
at line 79
<%
totintot=request.cookies("totintot")
....
sql = "select count(*) as totuur from studres where dag>= curdate() group by
logon having logon='" & lol & "';" Set rs = objdc.execute(sql)
if rs.eof then
totu=0
else
rsArray = rs.GetRows()
totu = rsArray(0,0)
end if
if int(totu)>=int(totintot) then flgmax=1 'this is line 79
rs.close
%>
With this : if totu>=int(totintot) then flgmax=1 => type mismatch
Any idea?
Thanks
Chris