Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox confusion
Message
From
04/05/2009 10:29:04
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01397753
Message ID:
01397769
Views:
39
Have created a new combobox; that didn't change anything.

It looks like I will have to resort to no ControlSource and using DisplayValue instead. Hate to do this, not understanding what is going wrong, but all users are currently disabled, so the time for understanding will have to come later.



>Last try is to create a new combobox with these settings.
>
>BTW, I rarely use fields as RowSource, prefer to use cursor.
>
>>Have blanked out controlsource; have tried setting BoundTo to both .T. and .F.; no change, result is still numeric.
>>
>>
>>>>Having just upgraded to SP2, I now am encountering an interesting problem with a combobox.
>>>>
>>>>The combobox has:
.RowSourceType = 6
>>>>.RowSource = 'SolomonBins.Bin'
>>>>.ControlSource = 'ThisForm.cBINto'
>>>>
>>>>SolomonBins.Bin is a character field; the dropdown list shows character values.
>>>>
>>>>However, the value for this combobox is now numeric (looks like ListIndex) rather than the the character value from the list.
>>>>
>>>>I haven't made any code changes to explain this.
>>>>
>>>>What gives?
>>>
>>>Where did you define thisform.cBlnTo?
>>>
>>>Can you reset controlsource to nothing for now and re-try?
Jim Nelson
Newbury Park, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform