retrieving value from autoinc after insert from IBCTable

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
haraldhuth
Posts: 3
Joined: Tue 23 May 2017 16:58

retrieving value from autoinc after insert from IBCTable

Post by haraldhuth » Wed 27 May 2020 16:38

Hello,
I try to get the new value from a autoinc field in firebird 3 with ibdac 6.14.
It is a TIBCTable with persistent fields.
Table Options ReturningParameter is true.
The ID Field is set to not required.
The Table is set with Append in insert mode and fields are set (beside id field);
After the Post, the id field is 0;
Same after the Transaction.Commit;
Where is my fault?

Thank you for helping.

Regards

oleg0k
Devart Team
Posts: 190
Joined: Wed 11 Mar 2020 08:28

Re: retrieving value from autoinc after insert from IBCTable

Post by oleg0k » Thu 18 Jun 2020 14:58

Hello,
Thank you for the information. We've reproduced the issue and are currently working to resolve it. We'll keep you updated on the progress.

wbr, Oleg
Devart Team

oleg0k
Devart Team
Posts: 190
Joined: Wed 11 Mar 2020 08:28

Re: retrieving value from autoinc after insert from IBCTable

Post by oleg0k » Tue 23 Jun 2020 08:42

Hello,
We've tested TIBCTable once again -- even in older version of IBDAC (6.1.4), the correct value autoinc is returned.
Please send us an example demonstrating the issue so that we could reproduce it, through the form: https://devart.com/company/contactform.html

wbr, Oleg
Devart Team

Post Reply