>Hi,
>
>I am using data grid to display a list of records.
>I am issuing a delete command on user click REMOVE button. However, it keeps on showing the record even though it is deleted.
>
>Set deleted is ON.
>I am refreshing the Grid after delete command.
>I am changing the record position using GO TOP.
>
>Here I noticed, that if I create a new record, and try deleting that record before issuing TableUpdate(), it will still show in Grid.
>
>But if I issue TableUpdate() and than give delete command, it refreshes the Grid.
>
>Please help!!
Hi.
To delete a record of a buffered table before TableUpdate() you have to issue TableRevert()
To force the Grid to refresh after the deletion try
Thisform.Grid1.SetFocus
KeyBoard '{Ctrl+Tab}{BackTab}'
HTH
Kamil
A moment of silence is our cosmic reset button.