>I am trying to set up a grid based on a view for data entry. When the user is on the last record of the view, they should be able to press the Enter key and create a new record. Any suggestions?
Grid.AllowAddNew=.t. will do it for "DownArrow" key, so the only addition would be intercepting Keycode=13 and stuffing Keycode=24 in Grid.Column.Control.KeyPress events. This code should also check that this is the last record, e.g. by checking Recno() (I guess the last thing can be done easier for cursor).
Edward Pikman
Independent Consultant