Link to home
Start Free TrialLog in
Avatar of developingprogrammer
developingprogrammer

asked on

what error numbers will CurrentDb.Execute strSQL,dbFailOnError raise?

hey guys,

i'm trying to write an error handler for the rollback of a transaction and instead of writing a generic catch everything error handler, i would like to handle specific errors that will be raised by dbFailOnError.

hrmm from what i read there could be a few / a myriad of errors raised.

does anyone have the list of errors that dbFailOnError could raise?

if not, could you advise me how i can handle the error specifically? thanks guys!! = ))
SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of developingprogrammer
developingprogrammer

ASKER

thanks capricorn1! yup the availability of locks is very important in dbFailOnError! = )

ah i see, thanks mx! definitely agree with you that we can try to gear ourselves for the main errors. hrmm, but i think what i'll do is create a sub function for this if it's very critical so i know that all errors raised in the sub function is a result of the things inside the transaction. thanks mx!! = ))