Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_TALLY returns 1 instead of 0
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00777086
Message ID:
00777197
Vues:
10
>>IIRC, RECCOUNT() looks at the header of the cursor, so your code could read:
>
>Thanks, that seems to be the best approach to use.

Be carefull with _TALLY.
This value can change fast...

Safer code:
* Syntax differs from VFP to SQLExec()
This.nCount=_TALLY
IF This.lClientServer
   This.nCount = RECCOUNT()
ENDIF
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform