You said that you moved the code into the grid level but there I don't know which column has called the code.
Put the code into that method in your grid, and create a local array
Local laEvents(1)
>where do you put this code? in the grid dblclick event it does nothing laEvents is not defined
>
>Peter
>
>
>>Use AEvents(laEvents,0)
>>
>>laEvents(1) is your textbox
>>
>>>I have a grid on a page frame with 5 columns
>>>in 3 of those columns I have code in the dblclick of the text control
>>>the method never gets executed.
>>>
>>>so I tried to move the code into the grid level but there I don't know which column has called the code
>>>
>>>what to do?
>>>
>>>Thanks
>>>
>>>Peter
Jim Nelson
Newbury Park, CA