Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox Return Value
Message
 
 
À
23/01/2005 21:32:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows '98
Network:
Novell 4.x
Database:
Visual FoxPro
Divers
Thread ID:
00979905
Message ID:
00979913
Vues:
16
Hi, Leo

>I was try that you suggested. bound column set to 2
>I Try messagebox in lostfocus event, Well done the value is correct return value from field name but why the form is show from field id
>
>I want the form in combo box show from field name when i choose

I see. What you need in this case is to set your RowSource as "Table.name, id" instead. The combo will only show the value in the first column when closed. Notice that in this case you need to get BoundColumn back to 1 if you need the name as value. If you need the id as value, remember to set "BoundTo = .t." also. This will avoid the value getting set to the record #.

Hope this helps,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform