>Hi guys,
> I need to make Combobox return Num. vlaue.
>I have Cmb filled from SQL query that returns cursor with 3 fields ( code, description and ID )
>ColumnCount is set to 2
>BoundColumn is set to 3
>ControlSource is set to the bound table that expects Integer.
> But Value of this Combo is not value from 3-rd column but listIndex value of Combo.
> How can I change it without afecting DisplayValue property so Combo still shows "normal" data and stores only the value I need?
>TIA
> Dezider
Use unbound combo and replace field value with VAL(combo.value) programmatically.
Edward Pikman
Independent Consultant