>I have a combo box with department names and numbers, the number
>of course being the bound column. When the user makes a selection
>I need to receive from the Combo box not only the number, which
>I can get using the box's value, but also the name which is in the
>next column. Both data items are needed to populate an array.
If you want to bound a numeric value, which is the case, you need to set the BoundTo property to .T. otherwise VFP will try to match the index of the list instead of the bound column.
So, this mean that when you'll skip and skip -1 in your form, this combo box should reflect the actual value coming from the bound column.
Now, I am not excatly sure why you need to populate an array. Normally, we will use RowSource='SELECT description,key FROM file ORDER BY 1 INTO CURSOR TEMP', RowSourceType='SQL', BoundColumn=2 and BoundTo=.T.