Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RecordCount Property

Status
Not open for further replies.

ofsouto

Programmer
Apr 29, 2000
185
BR
How can I get the property recordcount when the provider doesn't support it?
I'm using the Microsoft OLE DB Provider for Oracle (MSDAORA) and even I change CursorType
to adOpenStatic the property returns -1.
 
Have you set the CursorLocation Property to 'adUseClient'?
I think a client side cursor for the recordset supports RecordCount.
Let me know about the result.
 
you need to change cursor type to adkeyset. I had this kind of problem before.

Haijun
 
I changed the CursorLocationProperty to 'adUseClient' but I didn't get recordcount.
I tried all cursortype but even I didn't get recorcount.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top