Bonediggler1
Technical User
Hi-
In mid-module, how do i test if the following code raises an error, without tampering with the error handler already in place?
"dbs.execute ("select * from table1;")"
If IsError(dbs.execute ("select * from table1;")) = true doesn't seem to do the trick.
Ultimately I need to call a particular function based on whether the dbs.execute works or not.
Thank you!!
In mid-module, how do i test if the following code raises an error, without tampering with the error handler already in place?
"dbs.execute ("select * from table1;")"
If IsError(dbs.execute ("select * from table1;")) = true doesn't seem to do the trick.
Ultimately I need to call a particular function based on whether the dbs.execute works or not.
Thank you!!