I have always the problem of "data type mismatch".
In the init of combobox I put the following code:
public array x(2,2)
x(1,1)="Active"
x(1,2)=.T.
x(2,1)="Inactive"
x(2,2)=.F.
this.rowsource="x"
----
mycombobox.rowsourcetype=5 (array)
mycombobox.controlsource=mytable.lactive (logical field)
mycombobox.boundcolumn=2
mycombobox.boundto=.T.
mycombobox.columncount=2
mycombobox.columnwidths="50,0"
----
It does not work!
A little help please.
Thank you.