I need some recommendations on the best way to write an error scipt in the code. Basically, I want to prevent the "canned" MS error message that includes the debugging, etc.
For example, if someone starts to run a report by date range and then cancels before all the parameters are met - triggering an error, I just want the system not to flash an error - or allow me to enter an error text message. The first is preferrable.
I don't want to run the risk someone will press "debug" and screw things up!!!
Also, do I include the script within the Private sub, or create a new and redirect?
Thanks
For example, if someone starts to run a report by date range and then cancels before all the parameters are met - triggering an error, I just want the system not to flash an error - or allow me to enter an error text message. The first is preferrable.
I don't want to run the risk someone will press "debug" and screw things up!!!
Also, do I include the script within the Private sub, or create a new and redirect?
Thanks