Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Test for existing array
Message
 
 
À
15/01/2003 17:19:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00742136
Message ID:
00742139
Vues:
21
You can check _TALLY variable
SELECT ... INTO ARRAY ...
IF _TALLY = 0
  * No records returned - no array created
>I'm selecting into an array
>" sele x into thearray"
>if no results then no array.
>I'm using type("thearray") = "C" to see if "thearray" variable exists.
>
>is there a safer way, without requerying for a count?
>
>Thank You
>Miles
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform