Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO rs.RecordCount
Message
From
23/10/2000 12:04:23
 
 
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00432736
Message ID:
00432955
Views:
15
>is rs.RecordCount as totaly worthless as I think it is or am I just too tired to see straight?
>
>I really would prefer NOT to loop through to get a Record Count ...
>
>Please forgive any spelling or gramatical errors, its been a very long week. :(

Certain types of ADO cursors do not support the RecordCount property. For example, the default (client side) forward and read only cursor always returns -1 or some other negative number.

Are you using server or client side cursor? I believe static type cursors do return the correct record count.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform