Re: Error handling problem
Well, you have a problem here. If you call a sub or function which raises an error (or just causes an error) the errorhandler is used. In you case, the errorhandler of the form_load. This errorhandler raises an error, resulting in the same errorhandler being raised again. Here's your first problem.
The second problem is bigger. The error happens in the form_load event. This method is not called by the form.show method, but it just happens, it's an event, and the caller of an event is the system.
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook