LongFeiFengWu
Technical User
I'm trying to select the MAX(ID) of a table for a specific user. The code I'm using is:
<%
VZID1 = request.cookies("ECT")("VZID")
SQL = "SELECT MAX (TID) AS MAXTID FROM workflow "
SQL = SQL & "WHERE VZID = '"& VZID1 &"'"
obrec.open sql,obcon,3,3 <------Line 19
%>
I get this error:
Microsoft VBScript runtime error '800a01a8'
Object required: ''
/Joe/workflow/confirm.asp, line 19
I'm new to this, so any help would be greatly appreciated.
"If nothing within you stays rigid, outward things will disclose themselves. Moving, be like water. Still, be like a mirror. Respond like an echo." ~ Bruce Lee
<%
VZID1 = request.cookies("ECT")("VZID")
SQL = "SELECT MAX (TID) AS MAXTID FROM workflow "
SQL = SQL & "WHERE VZID = '"& VZID1 &"'"
obrec.open sql,obcon,3,3 <------Line 19
%>
I get this error:
Microsoft VBScript runtime error '800a01a8'
Object required: ''
/Joe/workflow/confirm.asp, line 19
I'm new to this, so any help would be greatly appreciated.
"If nothing within you stays rigid, outward things will disclose themselves. Moving, be like water. Still, be like a mirror. Respond like an echo." ~ Bruce Lee