Hi,
I am currently trying to convert from a vfp database to a sql-database
I am trying to return a recordset which I can pass through multiple times and build tables off of.
I am need to be able to reset the recordset to the beginning and scan through it a second time.
I set the recordset to be dyanamic and it works but after I return the recordset it results in a adOpenForwardOnly recordset.
How do I stop this from happening?
I am currently trying to convert from a vfp database to a sql-database
I am trying to return a recordset which I can pass through multiple times and build tables off of.
I am need to be able to reset the recordset to the beginning and scan through it a second time.
I set the recordset to be dyanamic and it works but after I return the recordset it results in a adOpenForwardOnly recordset.
How do I stop this from happening?
Code:
rs.CursorType=adOpenDynamic
Response.Write("<BR>" & rs.CursorType)
set rs = cmd.Execute
rs.CursorType=adOpenDynamic
Response.Write("<BR>and after " & rs.CursorType)