Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
An Easy question about comboboxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00159255
Message ID:
00159257
Vues:
22
>I have a ComboBox with two columns (Client_Name, Client_ID). The BoundColumn is #1...I also need to know and use the value in column #2...
>
>How do I access the column 2 info?
>I know I could change the boundcolumn get This.Value and change the boundcloumn back...but that's dumb....
>
>What is the right way?
>
>TIA
>Rick

If combo.rowsource is fields or alias, then you check rowsource field values in current record, or to feel safer you can:
IF SEEK(thisform.combo.value,"clients","id")=.T.
 nClientId=clients.id
ENDIF
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform