Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIBDataSet.InsertRecord() doesn't work #36

Open
walxo opened this issue Oct 20, 2019 · 2 comments
Open

FIBDataSet.InsertRecord() doesn't work #36

walxo opened this issue Oct 20, 2019 · 2 comments

Comments

@walxo
Copy link

walxo commented Oct 20, 2019

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
Copy link

OLMIG62 commented Jun 30, 2023

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
Copy link
Author

walxo commented Oct 24, 2023

Thank you, OLMIG62!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants