Get it to show the full error message / SQL on error

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
rfwoolf
Posts: 35
Joined: Thu 27 Aug 2009 19:39

Get it to show the full error message / SQL on error

Post by rfwoolf » Fri 28 Aug 2009 12:32

Hi.

I'm used to Zeoslib where, if there's an SQL error it posts the error and all the SQL that caused that error.
But in Devart all I get is
First chance exception at $7C812AEB. Exception class EIBCError with message '
Dynamic SQL Error
SQL error code = -204
Table unknown
TBLFLIGHTSCHEDULE
At line 1, column 35'. Process Project.exe (520)
This gives me absolutely no context. It says "line 1, column 35", which is absolutely useless information because i didn't generate the SQL.

I know I can but Debug := true,
but then I get too many messages and I can't be sure that's the SQL that's generating the error.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 31 Aug 2009 08:39

Unfortunately IBDAC does not have a feature to show SQL in the error message.

Post Reply