TADOQuery Error Handling
- From: "PK" <phklippel@xxxxxxxxxxx>
- Date: Thu, 21 Sep 2006 15:15:06 -0400
I have an application that allows users to generate a query which is then
executed to return data to a grid on an application form. All works well
unless SQL statement generates an error (i.e. syntax, etc) which causes the
application to fail. I have attempted to trap this error with Try...Except
on ADOQuery.Open, ADOQuery.Active, ADOQuery.ExecSQL and have not been able
to trap the error successfully. If anyone could direct me to a resource
that describes or provides an example of an approach to trap these errors I
would appreciate the assistance. Thanks.
.
- Follow-Ups:
- Re: TADOQuery Error Handling
- From: Brian Bushay TeamB
- Re: TADOQuery Error Handling
- Prev by Date: Re: ADO exception with character combination inside string...
- Next by Date: Re: ADO exception with character combination inside string...
- Previous by thread: ADO exception with character combination inside string...
- Next by thread: Re: TADOQuery Error Handling
- Index(es):
Relevant Pages
|