Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having Problems with Combo Array
Message
From
26/08/1998 12:06:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Having Problems with Combo Array
Miscellaneous
Thread ID:
00130128
Message ID:
00130128
Views:
49
Here's my problem, I have a Combobox class with record type Array(5), and the source is 'this.aitems' which points to the combo propery 'aitems[1,0]'

For some reason I can't get it to work right. I want it to list the files in the current dir so I used from the command window while the form is runnuing:

=ADIR(FORM1.CB1.AITEMS)

that didn't work, it only shows the first file so I tried

DIMENSION FORM1.CB1.AITEMS(ADIR(FORM1.CB1.AITEMS))

thinking it would create the array properly then return the number of files to the dimension of the array, but I only get the first record.

I've confused my self once again. Thanks for any help.
Next
Reply
Map
View

Click here to load this message in the networking platform