View Issue Details

IDProjectCategoryView StatusLast Update
0003317JEDI VCL00 JVCL Componentspublic2006-04-05 06:56
ReportermarcgeldonAssigned Toobones 
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.30 
Summary0003317: TJvDBGrid - AutoAppend does not fully work
Descriptionif you have a dataset with no records in it (RecordCount = 0, for example an empty table) and you want to change field values in the TJvDBGrid and AutoAppend = True, then a new data record is created.

It is not possible to insert or append data records if the RecordCount is > 0.

I'll add a workaround, but I think this problem should be fixed on the component.
Additional InformationMy workaround is the following:
procedure TForm1.JvDBGridShowEditor(Sender: TObject;
  Field: TField; var AllowEdit: Boolean);
  AllowEdit := (TJvDBGrid(Sender).DataSource.DataSet.RecordCount > 0);
TagsNo tags attached.



2005-12-12 15:28

reporter   ~0008210

Bug which is very easy to change. Can someone change that stuff in CVS?


2006-02-14 05:59

developer   ~0008549

What bug ? I tested today and all works fine. You use probably a very old version of JVCL.



2006-04-05 06:31

administrator   ~0008972

marc, does this still happen with the latest version of the JVCL?


2006-04-05 06:52

reporter   ~0008984

You can close this bug. I cannot reproduce the "bug" (?) anymore.


2006-04-05 06:56

administrator   ~0008989

Thanks marc for letting us know.

Issue History

Date Modified Username Field Change
2005-11-18 10:45 marcgeldon New Issue
2005-12-12 15:28 marcgeldon Note Added: 0008210
2006-02-14 05:59 Informatix Note Added: 0008549
2006-04-05 06:31 obones Note Added: 0008972
2006-04-05 06:31 obones Status new => feedback
2006-04-05 06:52 marcgeldon Note Added: 0008984
2006-04-05 06:56 obones Status feedback => resolved
2006-04-05 06:56 obones Resolution open => fixed
2006-04-05 06:56 obones Assigned To => obones
2006-04-05 06:56 obones Note Added: 0008989