FIBDataSet.InsertRecord() doesn't work
walxo opened this issue · comments
Валентин Воев commented
This doesn't work:
pFIBDataSet1.InsertRecord([1, 1]);
(Nothing happened. No database insert. No any errors)
This works:
pFIBDataSet1.Insert;
pFIBDataSet1.SetFields([1, 1]);
pFIBDataSet1.Post;
(I've attached test with source code and compiled executible. Database FB ver 3. fdb and fbk files and DDL as well.)
OLMIG62 commented
Bug still exists since version 7.5.
In FIBDataset:
For delphi up to XE2:
procedure InternalAddRecord(Buffer: Pointer; Append: Boolean); override;
for Delphi from XE3:
procedure InternalAddRecord(Buffer: TRecordBuffer; Append: Boolean);override;
Tested with XE2, XE5 and 10.4
Валентин Воев commented
Thank you, OLMIG62!