Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox looses it's ID
Message
From
14/12/2001 14:01:08
 
 
To
14/12/2001 13:55:35
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00594525
Message ID:
00594542
Views:
25
>Hi Michael is the BoundTo property of the combo set to .t.
>
>>Hi All,
>>
>>I have a combobox that is populated by an array. 2 columns. Employee name & number. The combobox is bound to the 2nd column. the array is ordered by the employee names. So the numeric 2nd column is not in sequential order. Everything has been going well until someone decided that there should be an internal number -1. When I select that employee there is code in the valid event to retrieve the required data. The last line in the event is a form.refresh. When the refresh is finished. all other controls on the form display the correct data. But the combobox no longer displays the employee's name. The combobox.value has not changed. Neither has the value of the controlsource. But the combobox.listitemid has. What happened?
>>
>>VFP6 SP5
>>
>>TIA
>>Mike


Yup! The problem happens only when the bound column's vaue is a negative. -1 Do combos hate this?

Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform