Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox - Add to list
Message
 
To
27/03/1997 10:33:36
Bill Gravell
Indoor Purification System
Menifee, California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00025823
Message ID:
00025906
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
>>????
>
>Hi Dave.....thanks for the response...I'll go try it right now....
>
>Bill

should have been this.displayvalue != this.value (forgot this would treat less than greater than like html codes)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform