>Hi
>
>My grid has a optimistic table buffered cursor to it. Now the new records I add are -1, -2 and so on. If I store the recno and the I try to goto it I get an error.
>
>How can I tackle this. I tried locate recno() = mysavedrecno but that did not position the pointer back to the newly added record.
>
>What am I doing wrong.
You have other problems, GO is OK:
CLEAR
SET MULTILOCKS ON
CREATE CURSOR testnegregno (pk i,tx c(20))
CURSORSETPROP("Buffering" , 5)
APPEND BLANK
TABLEUPDATE(.T.)
APPEND BLANK
rn=RECNO()
GO 1
? RECNO()
GO m.rn
? RECNO()