Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Are there any BUGS in COMBO BOXES?
Message
From
18/09/1997 15:56:46
 
 
To
18/09/1997 15:50:34
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00050580
Message ID:
00050598
Views:
18
>>>>>>If so, does nay know what they are?
>>>>>>I am having problems APPENDING.
>>>>>>thanks
>>>>>
>>>>>What does APPENDING mean?
>>>>
>>>>Hi Ed..when I REPLACE fld WITH mvar, it should
>>>>be reflected in the COMBO and it is not.
>>>
>>>I still don't see complete description of the problem, but let's make some assumptions:
>>>1. If fld is part of Combo.RowSource then Combo.Requery will bring new field value into list portion of the combobox.
>>>2. If fld is Combo.ControlSource and not contained in RowSource, then you have responsibility either add new value into RowSource or reset DisplayValue property to reflect the change.
>>>
>>>You see, the detailed description of the problem is still necessary.
>>
>>I am trying to add a member to a COMBO BOX with the value in a text1field.
>



>Ok. So you have a textbox, user enters something over there and then this value should be in list portion of the combo. Right? YES

My ROWSOURCE is rob.lastname

>If it's right you should 'append' Textbox.Value to combo rowsource and exact code to do this entirely depends on what RowSource you are using. If it's alias/fields you INSERT Into .... If it's array you AINS(). If it's None, you use Combo.AddItem. Don't forget about Combo.Requery.
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform