Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlsource of combo
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00034532
Message ID:
00035855
Views:
53
>>
>>If I am using the combo alone, and doing it right, where am I adding the new value to the controlsource table, and where am I executing the combo.Additem() method?
>
>When a user types in a value into a combo box and hits enter and the value is not on the list of the combobox, the additem method should fire. In that method you need to put the code to add the current value to your control source (table, cursor, array etc). Then requery the combo box to update it from its controlsource.
>
>I also like to put a wait window saying 'Entry not on list, will add to list' so user knows he is creating a new entry on the list.
>
>HTH

I get it. I'll have to try that sometime. In my case, I'll probably keep my combo-textbox thing because I never wanted to add new stuff to the combo anyway. I just wanted it in the table. Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform