Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recordcount in -1 in Recordset object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00638759
Message ID:
00638838
Vues:
15
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.)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform