View Issue Details

IDProjectCategoryView StatusLast Update
0001517JEDI VCL00 JVCL Componentspublic2004-03-23 05:36
Reportermichael.habbeAssigned Touser72 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001517: TJvDBCalcEdit - OnExit raises "DataSet not in Edit Mode"
DescriptionWhen you enter TJvDBCalcEdit and exit the component without any changes in data, the exception "Dataset not in Editmode" is raised.

Solution: Checking, if it was modified.

procedure TJvDBCalcEdit.CMExit(var Msg: TCMExit);
begin
  if Modified then // <<-- new
  try
    CheckRange;
    FDataLink.UpdateRecord;
  except
    SelectAll;
    if CanFocus then
      SetFocus;
    raise;
  end;
  inherited;
end;

The procedure is found in JvDBCtrl.pas
TagsNo tags attached.

Activities

user72

2004-03-23 05:36

  ~0003445

Obvious error, there. Thanks for noticing

Issue History

Date Modified Username Field Change
2004-03-23 04:42 michael.habbe New Issue
2004-03-23 05:36 user72 Status new => resolved
2004-03-23 05:36 user72 Resolution open => fixed
2004-03-23 05:36 user72 Assigned To => user72
2004-03-23 05:36 user72 Note Added: 0003445