Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box bound to an array
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01281347
Message ID:
01281380
Views:
12
>I would appreciate help on the following question.
>
>I have a combo box bound to an array (RowSourcetype = 5 - Array). The RowSource of this combo is set programmatically in the INIT method of the combo. Then, in the INIT method of the FORM, a value is assigned to this combo box. What happens that if the value assigned to the combo box is not in the array, the combo box value is empty. Is it possible to make the value, even if it is not in the array, to be set/stick?
>
>Thank you in advance for any help.

Use ASCAN() to check if the value is in the array. If it isn't, add it programmatically.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform