Ctrl+E is the shortcut to run a form when you're in the form designer, so that's probably where you got that habit from. Just get out of the habit of doing it with a code window open. <g> (Or just upgrade.)
>>>>Some time ago I got the same error but not while I was working with a report. I think it was a form.
>>>
>>>In the help it said: Record your last actions and call Microsoft.
>>>
>>>The scenario is completely reproducable: Open report's DE, put some code, then click Ctrl+E (I don't know, what happens with me today, but I mistakenly did it several times already).
>>>
>>>Is it still a problem in VFP7?
>>
>>Ctrl+E does nothing in vfp 7 - I was able to get the error in 6 as well.
>
>Great, thanks a lot for looking into this. One more reason to upgrade :)