Hey all,
there are many posts that reference recordsets but I have found none that answer this problem.
I have a dll function typed as an ADODB.Recordset that returns a disconnected recordset. this works fine in VB but I have been unsuccessful getting it to work in ASP.
The ASP code is:
<%
dim rs
dim oPS
set rs = server.CreateObject("ADODB.Recordset"
set oPS = server.CreateObject("MyDll.Main"
rs = oPS.NullPayees_Get
do until rs.EOF
Response.Write rs("HeaderID"
& "<BR>"
rs.MoveNext
loop
set rs = nothing
set oPPS = nothing
%>
I get the error (amoung others...)
"Object doesn't support this property or method: 'EOF'"
even though the EOF shows up in the Intellisense drop down.
Also the .NullPayees_Get function shows up in the Intellisense drop down in Visual Interdev.
Using Visual Interdev SP5.
Any ideas?
Rich
there are many posts that reference recordsets but I have found none that answer this problem.
I have a dll function typed as an ADODB.Recordset that returns a disconnected recordset. this works fine in VB but I have been unsuccessful getting it to work in ASP.
The ASP code is:
<%
dim rs
dim oPS
set rs = server.CreateObject("ADODB.Recordset"
set oPS = server.CreateObject("MyDll.Main"
rs = oPS.NullPayees_Get
do until rs.EOF
Response.Write rs("HeaderID"
rs.MoveNext
loop
set rs = nothing
set oPPS = nothing
%>
I get the error (amoung others...)
"Object doesn't support this property or method: 'EOF'"
even though the EOF shows up in the Intellisense drop down.
Also the .NullPayees_Get function shows up in the Intellisense drop down in Visual Interdev.
Using Visual Interdev SP5.
Any ideas?
Rich