Hi!
DO you have ActiveX controls on your forms or somewhere in the application? If yes, this probably is an answer. Also, ActiveForm often return incorrect object and error if there is an ActiveX on the active form.
I do not know what really can cause such strange behaviour. Is you form with that grid modal?
You can workaround this also by using a timer. Put a timer object on the form with Interval = 0. From the menu set this timer's Interval property to 1 or 10, so timer event fires as soon as possible. Code in the Timer event set Interval back to 0 and do the refresh. So you will be sure refreshing code runs from the form, though users still be able to actiate it from menu.
HTH.
>Vlad,
>
>Ok, I'm getting close. I took 100% of the code out of the grid and no luck. What I did find is that the way I'm calling my two procedures to set the key is causing the problem. I created two methods on the form and through my menu call "_screen.activeform.method1" and "_screen.activeform.method2". It doesn't work this way but if I create 2 command buttons on the form that call the methods, it works perfect. Is there another refresh that I have to do or a reason why I can't call a forms methods from a menu?
>
>Jeff
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.