Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox - Add to list
Message
 
To
27/03/1997 09:07:50
Bill Gravell
Indoor Purification System
Menifee, California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00025823
Message ID:
00025838
Views:
33
>I'd like to allow my user to type in a name in the combobox and add the new item to a table. I've looked at AddItem, and the descriptions are about to drive me to drink....Anybody done this?
>
>I've also looked at DisplayValue and Value, and I know that if they don't match, then use AddItem. What do I put in AddItem?
if this.displayvalue <> this.value then
    insert into mylookup (uniqueid,desc) values(uniqueid(), this.value)
endif
????
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform