General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only