>i allow edit in my grid. initially grid is readonly. if my user clicks on edit menu, i set menuedit=.t. and readonly=.f. for that particular row. then i'm able to edit then save it using =tableupdate(.t.)
>
>this grid is from table drs. it has field "description" that has an equivalent pdf file. when my user double-clicks on column description, my program opens adobe acrobat with the equivalent pdf file. i just open it based on drs.description+".pdf".
>
>now my problem is, when my user edits description then double clicks, my program cannot find the pdf. this is because description has been changed but not the name of the pdf.
>
>i know i have to issue some rename commands in my form. but i do not know where to put the code. i tried putting it in the afterrowcolchange() of grid, but it does not pass thru my condition
if menuedit=.t.. as a result, the pdf is not renamed.
>
>can you help me?
>
>TIA.
Put it in dblclick. Rename then continue.
Cetin