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