Create a cursor with the same structure as cursor sys(2015) in you form's load event. Give it a "real" name. The make that cursor your grid's rowsource. When the sys(2015) cursor is created, append it to the cursor name set for your grid's rowsource.
>hi gregory,
>
>i'm having a problem with recno(). here it is, in my application i have a login form that opens on top of my main form. form login opens table login.dbf.
>
>in my main form.init() and form.activate() i have,
>
>
>thisform.grid1.recordsource="select * from temp into cursor sys(2015)"
>
>
>
>i tried putting a
set step on at column4.text1.click() and see
alias(), it returns login.
>
>how can i make alias() return to the cursor of grid? i should check whether grid has the focus or not, if it does then select the cursor. where should i put this, in grid.click()?
>
>pls advise. TIA.
Imagination is more important than knowledge