Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comboboxes with an Integer as the Control Source
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00231783
Message ID:
00231879
Vues:
15
>>I am having trouble displaying an integer in a combobox if it's the control source. What are the properties that I need to activate correctly to display an integer in a combobox
>
>To answer part of your question, ensure that you have BoundTo=.T. otherwise the combo will return the index of the combo not the integer you intended.
>
>>as well as save the id that is being placed into that control from the record source which is a field.
>
>Not sure what you mean.

I think he may mean that he's getting a string back instead of an integer - you can force integer return by setting the default .value property to an integer (e.g. 0).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform