Can you should the replace command. Also, the safe practice is to save the current record number, do replace, restore the record number, e.g.
lnCurRec = recno("MyTable")
replace ...
goto lnCurRec in MyTable
>Hi Thomas
>
>I'm using REPLACE to save the details.
>
>>Hi Robin,
>>
>>as you use memory vars in the form, what do you do to write those values back in the grid cursor?
>>REPLACE , GATHER or something else?
>>
>>>Hi
>>>
>>>I have a grid on my 1st form that lists jobs.
>>>
>>>When a user clicks on one of the columns I run a modal form that allows the user to edit some of the jobs details for the row selected,
>>>
>>>The modal form uses memory variables
>>>
>>>I then save the changes, and release the form, the row changes to the 1st row in my grid on the 1st form?
>>>
>>>As a test I've even changed the form I call to an empty one, it still moves the grid row to the top?
>>>,
>>>
>>>I don't get it?
>>>
>>>TAI
If it's not broken, fix it until it is.
My Blog