>Hi all. I am using VFP 3.0 for Windows.
>
>My combo box is returning the row number of the item chosen, rather than return the numeric value in column 1. The proper column (#1) is bound.
>
>The combo box is filled using the RowSourceType of "fields" and then by specifying each field in the RowSource.
>
>I remember this happening is FP 2.6 also. Anyone know how to fix this?
Evan,
In VFP 3.0 you cannot fix this any way other than NOT using a numeric field as the bound column of the combo. In VFP 5.0 you can use the BoundTo property to allow numeric values to be the bound value.
This is a bug in VFP that is a reualt of making it compatible with FP 2.x where a numeric variable underlying a dropdown or list would cause the variable to receive the row index on the selected itme rather than the value in the list display.