Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RowSource in list box
Message
From
23/02/2001 07:18:55
 
 
To
23/02/2001 06:50:28
Garry Sankowsky
Zodiac Publications
Tolga, Australia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00478283
Message ID:
00478751
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform