Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recordcount of Recordset object
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00638211
Message ID:
00638223
Views:
22
Hi,

>when i use command.Execute() to fetch record from sql store proc i get
>recordset.recordcount = -1 , though records are there in recordset.
>Please any one can tell what i need to set first ?

rs.MoveLast() before asking for the reccount should help.

Regards,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Reply
Map
View

Click here to load this message in the networking platform