Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RowSource in list box
Message
De
23/02/2001 07:18:55
 
 
À
23/02/2001 06:50:28
Garry Sankowsky
Zodiac Publications
Tolga, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00478283
Message ID:
00478751
Vues:
25
>if aelement(listtwo, 1) > 0
>acopy(listtwo, newlist)
>endif
>
>etc
>
>but I find that if there is only one record in one of the arrays it does not appear in newlist.


Garry,

Instead of using aElement to check if the adir returns any records
You can do 1 of 2 things :


If alen(listOne,1) > 0
acopy(listOne, newList)
endif


or


If adir(listOne, '*.bmp') > 0
acopy(listOne, newList)
endif


HTH
Will Jones
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform