The title says it all. I'm running a SQL query to delete the record, then trying the following:
gridProjects.DataSource.DataSet.DisableControls;
try
gridProjects.DataSource.DataSet.Refresh;
finally
gridProjects.DataSource.DataSet.EnableControls;
end;
The record disappears from the grid, but then the user cannot select another row in the grid, using the mouse or keyboard, and no row in the grid is highlighted. It acts as if it's locked up.
Thanks,