Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement