Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not an Array Error 1st Time
Message
From
03/09/1999 12:38:55
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00261208
Message ID:
00261244
Views:
25
>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).
>
>The first time the thing is run I get an error 'arFillCombo' is not an array. I click [OK] and the combobox is not populated. I click my form's [EXIT] button and I get the error 3 more times.
>
>If I run the form again, the combobox is populated and the form works fine. I can't seem to trap this error.
>
>Any suggestions?

Steve

Are you setting the properties of the combo from the init of the form at runtime? Or have you set them manually? If the later you should remember that the INITs for all the controls on the form run before the INIT of the form.

Mace
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform