Application error: "Set" assignment statements are no longer supported

  • Thread starter Thread starter J. Muenchbourg
  • Start date Start date
J

J. Muenchbourg

The following line in part of my asp-sql block:

Set rs = Server.CreateObject("ADODB.Recordset")

creates an application error: "Set" assignment statements are no longer
supported

(in this particular block):
<%
Dim rs, strSQLd
Set rs = Server.CreateObject("ADODB.Recordset")
strSQLd = "Select * FROM category"
rsd.Open strSQLd, dbc
While Not rs.EOF
%>

I'm using this in an aspx file so that i can take advantage of the
paging and some of the other asp.net objects in the application. What is
a suitable replacement for "set" assignments?

thanks
Muench
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top