Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference to a column in a ComboBox
Message
De
14/10/1999 06:38:46
 
 
À
14/10/1999 02:33:54
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00274572
Message ID:
00276227
Vues:
29
Hi Cetin,

I thought that I solved the problem but you gave me the info that I needed to finally solve the problem.

Thanks for the help

>>I have a combo box with two columns. The data is stored in an array that is part of the combobox.
>>
>>
>>WITH Thisform
>>
>>  SELECT DISTINCT RodSpec.Mill , RodSpec.MillId;
>>    FROM WireMill!RodSpec ;
>>    ORDER BY RodSpec.Mill;
>>    INTO ARRAY .cboMill.cboData
>>
>>  =ASORT(.cboMill.cboData)
>>  .cboMill.DISPLAYVALUE = .cboMill.LIST(1)
>>ENDWITH
>>
>>
>>
>>When I select a value from the combo box I need to know the value in column 2. How do I reference it?
>>
>>Thanks
>
>
lcValue = .cboMill.list(.cboMill.ListIndex, 2)
>Cetin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform