Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in Combobox
Message
From
11/01/1999 08:17:47
 
 
To
11/01/1999 07:57:15
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00174597
Message ID:
00174604
Views:
21
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
Map
View

Click here to load this message in the networking platform