I have a function that runs a load of SQL commands in a database. However if anything goes wrong I have an error function that returns the database's record back to its original state. This is fine but what happens if the error handling function also creates an error? Is it possible to detect an error in the error handling function and then do something else (ie. give up and show a warning that the situatiuon cannot be remedied).
Whats the best thing to do here? Or is what I'm trying to do a bad idea?
Any help? Thanks,
elziko
Whats the best thing to do here? Or is what I'm trying to do a bad idea?
Any help? Thanks,
elziko