Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ControlBox returns position instead of value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00579858
Message ID:
00579869
Vues:
26
This message has been marked as the solution to the initial question of the thread.
>If I set the properties of my ComboBox control to:
>.BoundColumn = 2
>
>It should return the 'nID' value of the selected value. Well, it doesn't!
>I've done this many many times before but this time, for this one instance,
>the value returned is the position of the record!

This issue is why I bought the Hackers Guide to VFP 3.0 -- it's the only book I could find that explained what was going on here. :-)

Basically, it's by design: the BoundTo property was added in VFP5 so that you could bind to a numeric datatype and have it behave as characters do.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform