Bobby Heid
bheid at appdevgrp.com
Thu Mar 13 07:11:00 CST 2003
I think that sometimes this is the ONLY way to handle certain issues.
Bobby
-----Original Message-----
From: accessd-admin at databaseadvisors.com
[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Heenan, Lambert
Sent: Wednesday, March 12, 2003 5:40 PM
To: Access-D Email (E-mail)
Subject: [AccessD] Intentional Errors
Would anyone care to try to explain what could possibly be a problem with
executing code which executes a statement that will either succeed or will
generate an error, such as the recent "Am I a subform?" thread.
As long as the error is being trapped, what would make anyone "uneasy" about
this technique. To me it seem a perfectly valid approach, and to anyone who
has ever written C++ or Java code it's second nature. That's what exception
handling is all about.
Try {
//Some Code that might Error
}
Catch {
//Handle the error condition
}
Lambert
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com