WOO HOO! Thanks! =)
j
>Try this: .cboArea.List(.cboArea.ListIndex, 2)
>
>HTH
>
>> I am trying to reference the second column of a 2-column combo box that is bound to column 2 and populated with a sql - select. I get an invalid subscript reference when I run this section of code:
>>
>>WITH THISFORM.pgfInfo.pgProf.pgfJobs.pgJob1
>> REPLACE Area1 WITH .cboArea.LIST(.cboArea.VALUE, 2), ;
>> Dept1 WITH .cboDept.LIST(.cboDept.VALUE, 2), ;
>> Pos1 WITH .cboPos.LIST(.cboPos.VALUE, 2)
>>ENDWITH