Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo bound on numeric value
Message
From
14/02/2002 12:37:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00619981
Message ID:
00620149
Views:
29
>>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform