Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to populate combo box with array
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00651529
Message ID:
00651557
Views:
12
Thanks Charles

I tried this in combo's init event but the combo is blank, what's wrong ?
DIMENSION aCompcode[1]
SELECT dist(compcode) FROM DBF() INTO ARRAY aCompCode
FOR each aCompcode in aCompcode
	This.AddItem(&aCompcode)
ENDFOR 
This.Requery
txs
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform