Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box returns row number instead of bound numeric fi
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00043270
Message ID:
00043420
Vues:
54
>>Hi all. I am using VFP 3.0 for Windows.
>>
>>My combo box is returning the row number of the item chosen, rather than return the numeric value in column 1. The proper column (#1) is bound.
>>
>>The combo box is filled using the RowSourceType of "fields" and then by specifying each field in the RowSource.
>>
>>I remember this happening is FP 2.6 also. Anyone know how to fix this?
>
>This is a problem with VFP3. In VFP5 you can get around it with the BoundTo property. Easiest way is to change your combo box source to an array, or SQL, and use the string value for your numeric field. Then in the lostfocus() method change the value back to a numeric type and save it or use it as you need.
>

Barbara,

Thanks once again. BTW what does "HTH" stand for?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform