When you say it does not work, what error message do you get? Do you get the default eof/bof error messages from VFP? Or, do you get something like procedure xy not found? When the error occurs, what does the function On("error") return? Perhaps your error handler has gone out of scope or has been eliminated entirely.
As Dave suggested, you will probably want to make use of the Error() Event that is in each VFP base class.
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement