Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Are there any BUGS in COMBO BOXES?
Message
De
18/09/1997 15:58:21
 
 
À
18/09/1997 15:56:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00050580
Message ID:
00050600
Vues:
19
>>>>>>>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.

My Rowsource type is FIELDS. My COMBO gets its data from a table.
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform