Hi Fabio,
It seems to me that it's the result of the same bug as in
PROBLEM: DEFAULT on CREATE CURSOR/TABLE don't CATCH Thread #
826735.
>Hi,
>
>If CHECK expression is bad, the error ignore TRY...ENDTRY.
>
>
>CLEAR
>CREATE CURSOR myCursor (f1 c(20) CHECK f1=2 )
>TRY
> APPEND BLANK
>CATCH
> MESSAGEBOX(MESSAGE(),0,'my Error Box 1')
>ENDTRY
>
>CREATE CURSOR myCursor (f1 c(20) CHECK f1=A+2 )
>TRY
> APPEND BLANK
>CATCH
> MESSAGEBOX(MESSAGE(),0,'my Error Box 2')
>ENDTRY
>
>
>Note: this problem occurs also on VFP6/7/8 with ON ERROR error handling schema.
>
>Fabio
--sb--