Hi, Roman!
Two ideas:
1. Use the Default Value functionality of the id field to create the id - and you can use the given AllowAddNew feature of the grid!
2. Try the following (not tested yet):
IF nKeyCode==24
SELECT 'view'
IF RECCOUNT("MyViewAlias") = RECNO("MyViewAlias")
THIS.newRecord()
ENDIF
ENDIF
SeBaFlu