Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Err.Raise From Class

Status
Not open for further replies.

Shake412

Programmer
Apr 17, 2002
55
GB
Using VB5, I am writing a class which imports an external file and then repeatedly calling that class from a form module. There are a number of checks performed in which the results are passed back to the calling procedure via err.Raise. Also any errors encountered are passed back up the stack.

The problem is that I log the errors and carry on recalling the class procedure. This works fine if one error is raised, but any errors on any subsequent calls break in the class module and don't get passed up the stack.

I've obviously got the "Break on unhandled errors" option checked in options, so I can't think why this is happening.

Any ideas.

Thanks
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top