Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY TO ARRAY aTables
Message
De
07/03/2003 12:16:15
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00762805
Message ID:
00762817
Vues:
13
Use SQL-SELECT instead:
select field1 from tableList where not empty(field1) into array aTables
? _tally  && shows how many were selected
>this code is getting all the records of tablelist first column and filling it in the array.
>I want to put a condition not to get the empty records.
>
> ************************
>SELECT TableList
>nRecCount = IIF(RECCOUNT()<= 0,1,reccount())
>DIMENSION aTables(nRecCount,1)
>COPY TO ARRAY aTables
> *************************
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform