Avatar of abcdefg123456
abcdefg123456
 asked on

error traping in conn.execute method

i am executing one delete query. i have conn as my adodb.connection object. now, i am writing conn.execute(delete_query_sql). there are chance of having child records of one i m trying to delete. so it throws asp error. i want to trap it and want my page to redirect to an error page. how can i come to know that whether my query is executed successfuly or not ? does it return anything like 0 or 1 ? (liek jsp) please reply me immediately. thanks. Nirav Mithani
ASP

Avatar of undefined
Last Comment
rbagdonas

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
rbagdonas

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck