Trapping for Security Access Denied

J

John

Hi. Does anyone know how to catch SQL Security Access
Denied Errors from within an A2K ADP? Whenever I try to
access something that I have intentionally locked users
out of in SQL 2K, I get the error "There was a problem
accessing a property or method of the OLE Object." I would
like to be able to trap for this in code to display a
customized error that says something like "Access Denied"
or similar lines. Problem is, I have no idea what the
error code would be, or how to find out. Hopefully someone
can help.

Thanks,
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top