>>>How can I access a cell in a grid? I have some codes at form level, in which I need to assign a value to some cells in a grid. I can use thisform.ActiveControl.Collumns(i).Controls(2) to get to the collumn. But how can I go further to get to the cell?
>>>
>>>Thanks in advance.
>>
>>You can use Grid.ActiveRow and .ActiveColumn properties.
>>
>>Nick
>
>Yes, I can get active Row and Column numbers. But how can I address the active cell in the code?
Probably, you should look at this from another angle. If you want to change value in some grid cell, then you should go first to Grid.Recordsource, change field value there and say Grid.Refresh to get it in cell.
Edward Pikman
Independent Consultant