>>Nadya,
>>
>>add this code to the ProgrammaticChange() of this.parent.parent.column2.text1
>>
>>if( this.Value <> eval(this.ControlSource) )
>> replace (this.ControlSource) with this.Value
>>
>> this.Refresh()
>>endif
>
>I tried that, but it didn't work :(
>>
>>another possibility would be to set up a relation between the table of your grid and curTowns and make the ControlSource of the column CurTowns.ccode
>
>Right, but in this case the main table would not be updated. I can, though, program around it, if there is no other way. Actually, this is not a big problem, but a little bit annoying. All other problems, which I mentioned in my reply to Cetin, are more important. I'm thinking, that combo in a grid is a bad choice. May be I have to create a container based class instead?
>
>What would be suggestions here?
>
>Thanks in advance.
Do not see why it does not work. I use it all the time
Just browsed through your Init() of the grid. two things come to my mind
(1) is the combo visible at all ? Where do you set the visible property to TRUE
(2) if you remove the text1, then you better set the combo (column) SPARSE to FALSE
hth
Gregory