Trap/catch 'SQL statement doesn't return rows'

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Dokkie
Posts: 43
Joined: Wed 08 Oct 2008 21:58

Trap/catch 'SQL statement doesn't return rows'

Post by Dokkie » Fri 02 Jan 2015 15:37

Using IBDAC latest version.
When I attempt to open a storedproc which contains an execute statement - and does not return rows I receive 'SQL statement doesn't return rows' error message in a box - this is correct.

However I would like to catch the error and deal with it without interrupting the programme with the error box.

I've tried putting the open call in a try except block but the error box still shows.
Thanks

Dokkie
Posts: 43
Joined: Wed 08 Oct 2008 21:58

Re: Trap/catch 'SQL statement doesn't return rows'

Post by Dokkie » Fri 02 Jan 2015 15:41

Apologies: somehow I submitted two copies of this post. Please delete one of them.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Trap/catch 'SQL statement doesn't return rows'

Post by ViktorV » Sun 04 Jan 2015 06:44

I answered to you at the topic:http://forums.devart.com/viewtopic.php?t=31037

Post Reply