Sarah,
Yes it's 5, in 3 you have to use the appropriate container collection array. But you can do a psuedo for each with 1 line of code which might save a few array refs:
for i = 1 to this.ControlCount
oControl = this.Controls[i]
...
endfor
>>Jeff,
>>
>>You can process the thisform.Controls[] array and create another array of three columns.
>>
n = 1
>>for each oCoontrol in this.Controls
>> if ( "cbo" $ oControl.Name )
>> dimension this.maPairing[n,3]
>> n = n + 1
>> this.maPairing[n,1] = oControl
>> endif
>>endfor
>>
>For each --- is it new to VFP5? can't find it in my VFP3 help! Looks like a useful command.
>
>Sarah