>When a grid on the form has focus, hitting enter advances the cursor to the next cell instead of clicking the default button on the form. Is there a way for my default button to get clicked (or a workaround) even when the grid has focus.
Set Form.KeyPreview=.T.
and fire cmdButton.click() from Form.KeyPress event (filter here for Enter key).
Edward Pikman
Independent Consultant