Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box doesn't keep the display value selected
Message
De
04/08/1999 18:05:24
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00249881
Message ID:
00249982
Vues:
26
Joe-

Are you saying the control is bound to a controsource? If so, then you should be able to do something like "SELECT A+B AS C, A FROM [ETC]". Set the combo's row width to "200,0" or whatever, then set the boundcolumn to 2.

>I found what was causing the problem. My SQL statement was Select A + B as C, so that the combobox will show the value A and the description B. However, the resulting C is larger than the control source which is only wide enough for A. This was causing the display value for the combobox to be empty. It works OK if my SQL statement is Select A by itself.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform