Ahhh! Voodoo programming. Try retyping the line. Just delete it, and then retype it. Also, make sure there are no dangling ; on the line above!
Also, if you have any code in the form's refresh event, you might have a look over that.
>What causes a syntax error (error 10) in the statement: THISFORM.REFRESH()
>
>I've traced thru my code line by line and it is definately this line that is blowing up. There is no code in either the form's refresh method or the base class. I have no clue why this is happening. (And yes, I are a professional ######)
>
>Help.
--Todd Sherman
-Wake Up! Smell the Coffee!