ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Recordset.Recordcount Returns -1! (https://www.excelbanter.com/excel-programming/302673-recordset-recordcount-returns-1-a.html)

Sauron[_24_]

Recordset.Recordcount Returns -1!
 
Hi All,

As subject! can't uderstand why I'm getting -1 had a look on the we
but couldn't find anything of help would anyone have run into thi
problem before when running a count?

Cheers,
Sa

--
Message posted from http://www.ExcelForum.com


Rob van Gelder[_4_]

Recordset.Recordcount Returns -1!
 
Check whether the cursor is server or client based.

Additionally, some providers do not maintain recordcount.

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Sauron " wrote in message
...
Hi All,

As subject! can't uderstand why I'm getting -1 had a look on the web
but couldn't find anything of help would anyone have run into this
problem before when running a count?

Cheers,
Sau


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 07:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com