Page 1 of 1

TIBCTable refresh after insert error

Posted: Tue 23 May 2017 17:16
by haraldhuth
Hi There,

I'm new to ibdac so please excuse this question:

When using a TIBCTable for Inserting Data as well, the Autogenerated Field does not show a result. In the RefreshOptions with AfterInsert an error fires "Refresh failed. 0 Rows affected". The Trigger "OnAfterPost" with Table.RefreshRecord doesn't work either. How do I have to setup the IBCTable? Thank's for your help.

Re: TIBCTable refresh after insert error

Posted: Wed 24 May 2017 11:16
by ViktorV
To return the value of an auto-incremental field generated on the server-side, you should set the TIBCTable.DMLRefresh property to True. See more details about this property in the IBCDAC help: https://www.devart.com/ibdac/docs/?deva ... efresh.htm