Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does the array/table exist?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00725387
Message ID:
00725395
Vues:
11
A table or cursor is created always regardless if query returns any result. You can use _TALLY system variable to check how many records returned by query.
SELECT * FROM mytable ;
INTO ARRAY myArra
IF _TALLY > 0 
  * Aray has been populated with records.
ENDIF
>Hi,
>
>How can I determine if the array or table has been created successfully?
>When I use the Select-SQL to create a table or an Array, how do I find out if they exist?
>
>Thanks.
>
>Ria
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform