>Thanks all of you for your ansewrs. I deleted the object (a cmdButton) wich contained that code and rewrited again and it works now!! I remember that in Fox2.6 sometimes you could accidentally write an invisible char with a Alt+char combination and I'm wondering if this could be the case. Anyway thanks a lot.
>
>Héctor
Hi Héctor,
Really glad, you got it working, but hopefully you use some ideas in this thread as well. (Remove unnecessary condition, you table aliases, etc.). This would increase the readability of the code.
If it's not broken, fix it until it is.
My Blog