Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement