asp classic - How can I use MAX or last in ASP using SQL -
i have follwing code in form query
<% divrec = request.querystring("div") set rstest = server.createobject("adodb.recordset") rstest.locktype = adlockoptimistic sql = "select max (division_program) 'division 1' censusfacility_records " rstest.open sql, db %>
but following error
adodb.recordset
error '800a0cc1'
item cannot found in collection corresponding requested name or ordinal.
Comments
Post a Comment