View Issue Details

IDProjectCategoryView StatusLast Update
0034835LazarusLCLpublic2019-10-19 12:24
ReporterLeslieAssigned To 
Status newResolutionopen 
Product Version2.1 (SVN)Product Build60027 
Target VersionFixed in Version 
Summary0034835: TDBgrid does not display TBufDataset data properly
DescriptionSome rows in the grid are empty.
Steps To ReproduceSee the attached project.
TagsNo tags attached.
Fixed in Revision
Attached Files



2019-01-08 02:03

reporter (130,311 bytes)


2019-01-08 02:14

reporter   ~0113246

With 1.84 & FPC 3.04 the problem is the same.


2019-01-08 07:38

reporter   ~0113256

1. Also, closing the dataset raises an exception SIGSEGV .
2. The same goes if you add a new record and click the "Post" button (not always the case).

Lazarus 2.1 SVN build 60030, Windows 10 x64


2019-01-08 12:57

developer   ~0113262

Last edited: 2019-01-08 13:20

View 3 revisions

I think this is a problem of creation of the fields at designtime. When I delete the design-time created field "Name1" (the field, not the FieldDef!) by means of "Edit fields" or by code, and create the dataset at runtime in the form's OnCreate event everything works fine

procedure TForm1.FormCreate(Sender: TObject);
  // BufDataset1.Fields.Clear; // if not done at design-time


2019-01-11 16:58

reporter   ~0113331


you are right. It seems it works with either the FieldDefs or the Fields created at design time, the problem occurs when both is created in the IDE. The way I did it was creating the FieldDefs and let the IDE create the Fields based on that.

Juha Manninen

2019-10-19 12:24

developer   ~0118683

Does it mean there is no bug and this can be resolved?

Issue History

Date Modified Username Field Change
2019-01-08 02:03 Leslie New Issue
2019-01-08 02:03 Leslie File Added:
2019-01-08 02:14 Leslie Note Added: 0113246
2019-01-08 07:38 sembit Note Added: 0113256
2019-01-08 12:57 wp Note Added: 0113262
2019-01-08 12:58 wp Note Edited: 0113262 View Revisions
2019-01-08 13:20 wp Note Edited: 0113262 View Revisions
2019-01-11 16:58 Leslie Note Added: 0113331
2019-10-19 12:24 Juha Manninen Note Added: 0118683