Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_TALLY returns 1 instead of 0
Message
De
14/04/2003 02:28:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00777086
Message ID:
00777094
Vues:
12
>Hi Michel,
>
reccount(< YourNewCursorName >)
>should do it.

Yes, I ended up doing this:
* Syntax differs from VFP to SQLExec()
IF This.lClientServer
   COUNT TO This.nCount
   ELSE
   This.nCount=_TALLY
ENDIF
Basically, I'd like to have the best optimized way. _TALLY is good for native VFP table as we are just accessing a reference. But, doing a COUNT as I do for a SQLExec() cursor is a little bit more process. Is RECCOUNT() using the _TALLY approach or the COUNT approach?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform