We have a similar set of code that uses the said keyword.
If Type("_SCREEN.ACTIVEFORM.ACTIVECONTROL") = 'O'
_SCREEN.ActiveForm.ActiveControl.Setfocus()
Endif
Find out somewhere in your code if you have similar command.
>I'm having some peculiar problem in previewing my reports.
>
>While previewing, if I press "X" button on the Preview window tital bar, for closing Preview window, It gives following error message,
>
>"ACTIVEFORM is not an object"
>
>If I close the window by pressing ESC key or clicking on close window icon on Printing Toolbar than its OK.
>
>TIA
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."