madorin / fibplus

FibPlus Library for Delphi and C++Builder. Data access components for Firebird & Interbase.
164 stars 57 forks source link

FIBDataSet.InsertRecord() doesn't work #36

Open walxo opened 4 years ago

walxo commented 4 years ago

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;

Test_InsertRecord.zip

(I've attached test with source code and compiled executible. Database FB ver 3. fdb and fbk files and DDL as well.)

OLMIG62 commented 1 year ago

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

walxo commented 10 months ago

Thank you, OLMIG62!