Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box : Not showing values unless focus is set to it
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00145892
Message ID:
00145963
Views:
33
Paul,
That will ALWAYS show the first item in the combo list. If the combo is linked to a table with ControlSource, then this will change the data in the table.

First Jayesh should check if there is an exact match (as JimB. suggests) and then add

thisform.Mycombo.value = Mytable.Combofield

Where the 'combofield' refers to the value in the field linked to the combo.

HTH
Barbara

>Try
>
>THIS.LISTINDEX = 1
>
>in the init of the control.
>
>HTH
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform