Re: ADO 2.5 with Oracle 8i
Not every recordset supports RecordCount property. That is why when you are getting recordcount = -1, it might be OK. If you need recordcount, use SQL statement.
About clause FOR UPDATE NOWAIT. I never used it. May be it is not supported in Oracle 8i
Iouri Boutchkine
[email protected]
Re: ADO 2.5 with Oracle 8i
Thank you for your response.
Locking is supported in Oracle 8i. I have learned that thru Oracle TechNet Documentation. Oracle8i supports the locking the same way it did in Oracle 7.x.
This is just for your information. If you or anybody wants to try this code, the platform I am working on is:
VB 5.0 SP3
ADO 2.5
Oracle 8i
Thank you
Yamini
Re: ADO 2.5 with Oracle 8i
The adOpenForwardOnly cursor type does not support RecordCount, that is why you got RecordCount=-1. Try to set it to adOpenStatic.
Regards,
Michi
MCSE, MCDBA
Re: ADO 2.5 with Oracle 8i
Hi Michi:
Thank you for your response.
I have even tried adOpenStatic, no change. Anyway, I am not really bothered abour record count. What I really want is, I should be able to retrieve the records.
Any help will be highly appreciated.
Again, the platform I am working on is:
VB 5.0 SP3
ADo 2.5
Oracle 8i
Thank you.
Yamini