Hiya
I haven't done it your way, but if you mean that I should switch controlsouce of the col. at runtime, then maybe it was me, but I failed. I had put this.parent.controlsource = "view.cDesc" in the init of the cbo as well as lostfocus but couldn't get it to stop display if ID.
>:) If this means you don't want to sparse = .f. then you might check tricky ways (not sure how good it would be - still should increase rowheight) :
>
>
>*Column
> .Bound = .f.
> .Controlsource = "(iif(seek(mytable.id,'LookUp','pk'),"+;
> "Lookup.Desc,'')"
> .CurrentControl = 'cbo'
>*Column.Text1
> .Controlsource = "(iif(seek(mytable.id,'LookUp','pk'),"+;
> "Lookup.Desc,'')"
>*Column.Cbo
> .Controlsource = 'myTable.id'
> * others as should be
>
Cetin
>
>>I'd love to see this work. Thanks Cetin keep you posted. I guess we had discussed sparse before, but I have some mental block against sparse as it modifies the grid's appearance and then you have to set cbo properties of style & others to make it look normal <g>.
>>
>>>
>>>Change the order of columns in combo. Combo always displays the first column as DisplayValue (and incremental search works on it).
>>>ie: If it's : ID, Desc and bundcolumn =1
>>>Make it : Desc, ID and boundcolumn = 2
>>>
>>>If this is not the problem you describe, check column.sparse and set to .f.
>>>Cetin