>Hi all
>
>I have the following command in the Init of the form class
>
>ON KEY LABEL F12 _SCREEN.ACTIVEFORM.OpenFlexiTableForm()
>
>all in all I have the thing working well
>
>In OpenFlexiTableForm() I put in a wait window like follows:
>WAIT WINDOW _SCREEN.ACTIVEFORM.ACTIVECONTROL.Name
>
>I got the name of the text box okay, but when fired from the grid containing the text box I got only the grid's as name as the active control.
>
>Please advise.
Bhabhuti,
It's normal behavior. Check baseclass, if it's grid then you can get row using recno(.Recordsource) or .RelativeRow, column from .ActiveColumn, RelativeColumn, varread()...
Cetin