Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not an Array Error 1st Time
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00261208
Message ID:
00262684
Views:
16
Things pretty much work at this point. I am getting array values into the combobox. Because I modified the ControlSource property to be that of the view I am working on, if I select something from the dropdown it gets written to the view. But if I type in an entry, it doesn't get written to the view. I was playing with requery in the lostfocus method and came up dry.






>The form's Init method, where your array is created, is fired too late. The combobox has already been instanciated and looks for the arFillCombo array before the form's Init. If you want to check for yourself, just put a MessageBox

>>Using VFP6/SP3.
>>In my form's init method, I create a 4x3 array and fill it with values. The array is used to populate a combobox (boundto=.f., rowsource = arFillCombo, rowsourcetype = 5 - array, all these were defined visually in the form designer).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform