Hi Gerard,
You've to move focus of the grid befor you add new record and back to grid after. SOmething like
This.Parent.Parent.Parent.command1.SetFocus()
APPEND BLANK
This.Parent.Parent.Column1.SetFocus()
NODEFAULT
>Hi.
>I have an Editable grid which shows just two fields from a file.
>On the Valid Event of the second field I have the following code:
>
>Appe Blank
>Goto Bottom
>
>Each time I return out of the second field,the record is appended ok but the cursor stays on the current record. I want it to land on the appended record , so that the User does not have to down arrow.
>
>I've also tried Keyboarding a DnArrow but this caused an infinite loop .
>
>Anybody got any ideas on how I can automatically land on the last record without having to use a key ?
>
>regards,
>
>Gerard
--sb--