Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo bound on numeric value
Message
De
14/02/2002 12:37:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00619981
Message ID:
00620149
Vues:
27
>>This was a bug in VFP 3. In VFP 5 or later, just set property .BoundTo = .T.
>
>Actually, it wasn't a bug. It was the way it worked in 2.5, as well, and still works today if you don't set BoundTo = .T.

Oh, well, perhaps I shouldn't have used the word "bug". But the fact remains that ComboBox didn't work as most programmers would expect with numeric values (and still doesn't, if the programmer doesn't know about .BoundTo!), and, in VFP 3, required complicated workarounds, as far as I remember. Mainly, having to use character instead of integer for primary and foreign keys.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform