>> 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.
Thanks, Barbara. Unfortunately, this is not my application, so my colleague should properly handle this problem. I checked code of this form, it does Grid.SetFocus() many times...
If it's not broken, fix it until it is.
My Blog