General information
Category:
Forms & Form designer
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...
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only