Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox problem
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00041476
Message ID:
00041479
Views:
33
>I have a problem with a ComboBox. I have the folowing properties set, but when the user adds an entry not listed in the RowSource, the data is not saved. What to I have to do so the user can add a new entry and the entry is saved to the table (I don't need it added to the RowSource).
>
>ControlSource = helthins_param_view.user_comment
>RowSource = Cancellation,Death,LOA,Please Refund,Prepayment,Retirement,Return from LOA,Termination
>RowSourceType = 1
>Style = 0
>
>
>Jeff

Two things have to be done:
1. Unbound control, i.e. ControlSource=""
2. in Combo.LostFocus event:
If this.displayvalue!=this.value
Select helthins_param_view
Replace helthins_param_view.user_comment With This.DisplayValue
Endif
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform