>>>I encountered a serious grid refreshing problem which
>>>I have'nt found any solution.
>>>
>>> To reproduce:
>>> Run the program at the end of this message
>>>
>>>Result observed:
>>> Empty grid
>>>
>>>Result Expected: Word Hello must appear. Press Ctrl+Tab to see the
>>> expected result.
>>Problem is in deleterow code. You need a better code there. For now try this instead of gridbase1.refresh as last line of deleterow :
>>
>>go recno(thisform.gridbase1.recordsource) in (thisform.gridbase1.recordsource)
>
>I added this line as last line in deleterow method but got an error
>
>record is out of range.
>
>Any help ?
Andrus,
My own delete code for grid looks like :
with GridObj
Select (.RecordSource)
Delete In (.RecordSource)
Go Recno()
.SetFocus()
endwith
Cetin