Francesco,
You may want to begin using the Error() method of your objects themselves instead of relying on global error handler procedures.
>I put in the main.prg:
>
>'on error do xy'
>
>this to trap the eof() and the bof(); this does not work within a form. Some suggestion?
>Thanx in advance