> If I invoke report form from a form with a grid, which has focus, even if I put select myCursor just before report form command, it could not find variables. I guess, it reselects Grid.Alias.
>
Yes, grids tend to do that. You have to move the focus off the grid to prevent that problem.