Need4Speed
Member
- Joined
- Apr 4, 2007
- Messages
- 8
- Programming Experience
- Beginner
Hi..
In my code I call for 3 mudules to be executed like:
OpenDbConnection()
ReadFromDb()
CloseDbConnection()
If an error occures in the first module I can catch that and display an error message. But what I also wanna do in the first module itself, is make sure that the queued up instuctions like the second and the third module don't get executed either. So when an error occures I want the app to show an error message and after that do absolutely nothing else.
How can I do this?
Thx..
In my code I call for 3 mudules to be executed like:
OpenDbConnection()
ReadFromDb()
CloseDbConnection()
If an error occures in the first module I can catch that and display an error message. But what I also wanna do in the first module itself, is make sure that the queued up instuctions like the second and the third module don't get executed either. So when an error occures I want the app to show an error message and after that do absolutely nothing else.
How can I do this?
Thx..