>How would you like to have it work?
When the user enters the empty grid or deletes all child records, an empty row should be available.
>When there are no records in the grid, you can't get focus into a row, because there are no rows. So you can't down arrow to add a record. You could put >something in grid.click() to add a record if the the cursor is empty...
This is another situation that has the grid screaming for a GotFocus and LostFocus event. I was hoping to test This.ActiveRow in the grid and if 0 APPEND a new record but can't determine where. I can't use .Click because the functionality has to be there when TABbing into the grid as well.
I've ended up using the COUNT... function in the grids .When event and in my custom Form.DeleteRec event. If 0 then I APPEND. It works but I'm not totally happy with it. I keep thinking there has to be a better way of doing this.
Thanks for the input. Any other ideas would be greatly appreciated.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.