diff --git a/public10/ThreeFun/Fun/U_RTFun.pas b/public10/ThreeFun/Fun/U_RTFun.pas index acec672..b1712c4 100644 --- a/public10/ThreeFun/Fun/U_RTFun.pas +++ b/public10/ThreeFun/Fun/U_RTFun.pas @@ -2484,6 +2484,7 @@ begin mGridName := cxGrid.GetParentComponent.Name + '.' + cxGrid.name; try + cxGrid.BeginUpdate(); mADOTmp := TADOQuery.Create(nil); mADOTmp.ConnectionString := DConString; with mADOTmp do @@ -2544,6 +2545,7 @@ begin finally mADOTmp.close; mADOTmp.Free; + cxGrid.EndUpdate(); end; end; @@ -2569,6 +2571,7 @@ begin mGridName := cxGrid.GetParentComponent.Name + '.' + cxGrid.name; try + cxGrid.BeginUpdate(); mADOTmp := TADOQuery.Create(nil); mADOTmp.ConnectionString := DConString; ///////////////////////////////////////// @@ -2651,6 +2654,7 @@ begin finally mADOTmp.close; mADOTmp.Free; + cxGrid.EndUpdate ; end; end;