>I have a child grid on a 1-M form. Buffering is set to optimistic row.
>After appending a record and placing focus on the first cell, I want to be
>able to add data and then test whether or not the user has left the current
>row. If he has, I want to display an Save/Revert/Cancel dialogue. I have
>tried the beforerowcolchange, but the activerow property doesn't know its
>changed until the afterrowcolchange event .
>
>How do you detect the change before the current row loses focus?
I think you can do something with Valid events of each cell control. Also it's probably a good idea to check CURVAL() OLDVAL() in beforerowcolchange snippet. Personally I believe that child table better to have table buffering that eliminates most of above problems.
Edward Pikman
Independent Consultant