Hi, thanks for the reply.
I'm using v2000. Running the code I originally posted does not give an error. However, if I try to access the returned recordset afterwards I get the above error. i.e. if after set rsBill = .execute
I then do:
Do while not rsBill.eof
OR
If not rsBill.eof then
then it...
Thanks.
I know this is an alternative method and I suppose I could use it. I just wonder why on earth the other way doesn't work and specifically why it gives that error.
Oh well, I'll have to live with this!
Thanks again,
Sara
Hi, thanks for the reply.
Yes, regular SQL statements work, as in:
Dim cn as adodb.connection
Dim rsBill As ADODB.Recordset
Set cn = New ADODB.Connection
cn.Open "Provider=PervasiveOLEDB;Data Source=MyPath"
'connection is fine
Set rsBill = new ADODB.recordset
rsBill.open...
Hi all,
I am connecting to a Pervasive DB from VB and am calling a stored procedure and trying to put the results into a recordset. This is VERY standard code and I use it all the time with MSSQL with no problems. But here, when I try to later reference the recordset, I keep getting the error ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.