Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_tally
Message
De
06/03/2003 08:58:06
 
 
À
06/03/2003 06:07:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: _tally
Divers
Thread ID:
00762047
Message ID:
00762104
Vues:
16
>I used to run my queries like this:
>
select * from table into cursor XXX nofilter
>select XXX
>if _tally=0
>messagebox('No data found!')
>else
>report form YYY preview
>endif
>Lately, I started to get the message even if my cursor has lines and I had to change it to the following way:
>
>select xxx
>ntotal=reccount()
>if ntotal=0...
>
>I have the problem with query that worked well till now, what's happening?
>Thank you for answer
>PS
>When I try to get the _tally value I get 0 (even with lines in the cursor).

Chaim,

Do you've any commands between SELECT INTO CURSOR and IF _TALLY=0 that could rest _TALLY to 0? What's VFP version?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform