|
-
Feb 24th, 2005, 01:20 PM
#1
Unload Me alternative for a module
I have a module that has been compiled into an exe. This exe is then used by a DTS package to do some data transformations. When an error occurs in the transformation, an event is written to the applications error log. What I want to do now is if the error log grows to greater than 15KB, I want to exit the app. If I was using a form for this, I could us “Unload Me”. This obviously will not work for a module. The only way I know how to stop the execution within a module is to use the “End” keyword. There has got to be a better option than that.
Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|