ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/runtime/IBCustomDataSet.pas
(Generate patch)

Comparing ibx/trunk/runtime/IBCustomDataSet.pas (file contents):
Revision 107 by tony, Thu Jan 18 14:37:40 2018 UTC vs.
Revision 108 by tony, Thu Jan 18 14:37:46 2018 UTC

# Line 2714 | Line 2714 | end;
2714  
2715   procedure TIBCustomDataSet.SetDatabase(Value: TIBDatabase);
2716   begin
2717 <  if (FBase.Database <> Value) then
2717 >  if (csLoading in ComponentState) or (FBase.Database <> Value) then
2718    begin
2719      CheckDatasetClosed;
2720      InternalUnPrepare;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines