Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to tell when Set Filter returns no records
Message
De
05/05/1998 13:20:21
 
 
À
05/05/1998 13:01:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00097082
Message ID:
00097099
Vues:
17
>>I'm using a query which uses the set filter to command. Good so far. But when the result of the set filter is no records, I need to be able to test for that, so I can take some action (message or otherwise). I see that RECC() doesn't respect the Set Filter to command. Can anyone tell me what does?
>>
>>Thanks!
>>
>>Sylvia
>
function filterhasrecords
>locate
>return !eof()
Cetin

Great thanks! By the way, I also tried a simple count to l_nreccount which returned a 0, and then I tested for this value. Is this method going to be slower than locate?

Sylvia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform