To add another source to Naomi's list: ON KEY LABEL.
It sounds as if pressing Enter is executing code in your form that closes the record source of the grid for at least the fraction of a moment. It might not intentionally close it, but, for instance, open another table in the current work area which happens to be the grid cursor when the grid has focus.
--
Christof