TCRBatchmove - Stop after Exception

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
michaelJ
Posts: 30
Joined: Thu 13 Jan 2011 16:11

TCRBatchmove - Stop after Exception

Post by michaelJ » Thu 09 Mar 2017 15:14

Hi I'm using TCRBatchmove to move data from Source to destination.
In one table I've got the following exception:

Code: Select all

IBCError
Dynamic error Code = -104
Token unknown Line 2, Col73
START' aufgetreten
I've set
AbortOnKeyViolation=False
AbortOnProblem=False

Additional I've set in TIBCQueryDest
OnPostE>rror
Action:=daFail.

I've excepted that the process didn't stop and resume after exception.
How can I get Information about hidden row and without stopping the whole Process?

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

Re: TCRBatchmove - Stop after Exception

Post by ViktorV » Fri 10 Mar 2017 13:58

Unfortunately, the architecture of TCRBatchmove behavior does not allow to implement the required functionality.

michaelJ
Posts: 30
Joined: Thu 13 Jan 2011 16:11

Re: TCRBatchmove - Stop after Exception

Post by michaelJ » Fri 10 Mar 2017 14:19

I only need a OnErrorEvent for example to handle the exception.
Otherwise it will we better when the process resumes after exception. Did you have a workround for this?

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

Re: TCRBatchmove - Stop after Exception

Post by ViktorV » Mon 13 Mar 2017 12:06

As we have already mentioned, at the moment TCRBatchmove behavior architecture does not allow to implement the desired functionality.
If you want us to add this functionality, please write about it on our User Voice forum: https://devart.uservoice.com/forums/104 ... 909-common. If your proposition gains enough votes we will consider a possibility of its development.

Post Reply