>>>>I have a combobox with his rowsourcetype set to an sql-statement
>>>>'select name,id form articles into cursor cArt'.
>>>>Boundcolumn is set to 2.
>>>>Controlesource is a field in the order-table.
>>>>
>>>>With these settings the values in the order-table aren't correct.
>>>>It's like vfp is setting the recno() of the article-record in the order-table.
>>>>
>>>>Please need some help !! :-(
>>>
>>>Set combobox property
BoundTo=.T.
>>
>>Stupid me, I didn't saw the property BoundTo was set the .F. in my base-class.
>>Thanks for the help ! :-)
>
>It's only "bites" you if the combo is bound to the numeric field. :)
I use this class only for fields with an character based-PK .
BTW. Why can't you bind a numeric field to a combobox ?