>I have a combo box on my form. I set BoundColumn to 2. I am assigning RowSource in code to a cursor with two columns, second column is ID with integer values. In InteractiveChange this code: IF This.Value = 0 creates an error because combo's value is a char type. Shouldn't it be numeric?
>
>Thanks
First of all, set Combo.BoundTo=.T. (it is very important). After that Combo.Value will be determined by List property (i.e. by RowSource) but data type will be still character (because List property is character), i.e. you should check for VAL(combo.value)=0
Edward Pikman
Independent Consultant