>apart from 'on error' or 'on error 0' what else must we do to prevent vfp jumping to its error reporting code rather than stopping where we want it stopped - on our offending line of code.
>
>This seems to be a particular problem when developing a form and using the 'run form' option. Even with variations like 'on error suspend' in the load method, it still traps the errors. It hits a problem and immediately jumps to the error reporting code forcing me to unwieldy means like setting step on in the code and manually stepping through till I hit the problem. I'm confident that there has to be a way to prevent this but as usual the manual is either silent or opaque on the issue.
>
>Thanks
>
>Harry
If you put code in the Error method, it will override an ON ERROR routine. For a complete discussion of VPF error handling, see the whitepaper at
www.stonefield.com.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer