Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in Combobox
Message
De
11/01/1999 08:17:47
 
 
À
11/01/1999 07:57:15
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00174597
Message ID:
00174604
Vues:
22
You have to insert the new value in the combo box list, like this:

cboCombo.Valid():
IF NOT Alltrim(THIS.DisplayValue) == Alltrim(THIS.Value)
lcValue = THIS.DisplayValue
THIS.AddListItem(THIS.DisplayValue, THIS.NewItemId + 1)
THIS.Requery()
THIS.Value = lcValue
ENDIF

HTH

>I'm using a combo box with style=0 i.e. where I can type n select from list.. Rowsource type is alias
>
>When I type a new value (which is not existing in alias(rowsource),) the field is becoming blank...
>
>same way if i manually open my table and add the value and try to go in that field, again it is becoming blank...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform