Vlad,
Agree it's not reliable or say slow and needs grid has focus. OTOH I think you mixed it with relativerow :) It's the row number of all visible+invisible rows. And yes it would change in cases like reordering.
Cetin
>Hi!
>
>Active row is not reliable. It is the row number in visible prtion of records. So, when grid is scrolled, records are shifted and the same active row points to another record. Scrolling by 1 row in grid thus causes a problem.
>
>>Hi Nadya,
>>
>>Thanks for your response. Is there any downside to testing the active row instead of the recno().
>>
>>The way I've currently got it the app working is to put the current active row into a variable in the valid. Then in the gotfocus, I test whether the new active row is equal to the variable.
>>
>>Mitch