Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recordcount in -1 in Recordset object
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00638759
Message ID:
00638838
Views:
14
Hi,
RecordCount property returns actual number for a static or keyset cursors and -1 or actual number for a dynamic cursor, depending on the data source. Client-side cursor may be only static.

>I am getting a recordset object from SQL store Proc. here is my code...
>
>rs.OPEN(cmd)
>
>cmd is command object and all property is set in that. Now what exactly i have to set , like cursortype or any thing so i can get RECORDCOUNT > 0
>rs has records in it but only RECORDCOUNT = -1.
>
>( I do get result set from Store Proc.)
Previous
Reply
Map
View

Click here to load this message in the networking platform