Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box display
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00007249
Message ID:
00007587
Views:
41
>Hi Rock,
>
>>>You can revert the order of the columns in your combo, having the description as the first column and the code as the second. Then you need to change the boundcolumn property of the Combo to 2 (cause now the combo is bounded to the controlSource by the 2nd column). This should do it.
>>>
>>>Ciao,
>>>
>>>J. Luis
>>
>>If you want code(numeric) returning IN VALUE property CHECK IT OUT i think that VFP did a weard convertion to caracter. But may be I'm rong so just watch out... Because something like this append to me
>>
>
>AFAIK, there was a probblem since FPW with combos returning numerical values. The thing was that the combo returned not the value of the selected row but the index of the selected element. Since that i try not to use numerical values with combos, but i don't know if this prob. is solved in recent versions of VFP.
>
>Anyway thanx for the observation,
>
>Ciao,
>
>J. Luis

I'm sorry for the long delay of may anwser but i was gone for few days
I have been please
Rock
Previous
Reply
Map
View

Click here to load this message in the networking platform