mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:29:27 +02:00
Dataset is opened before copying data
This commit is contained in:
parent
61a8c3d1cb
commit
74e9c43e12
@ -144,6 +144,8 @@ type
|
||||
published
|
||||
Property FileName : String Read FFileName Write FFileName;
|
||||
property Filtered;
|
||||
Property Active;
|
||||
Property FieldDefs;
|
||||
property BeforeOpen;
|
||||
property AfterOpen;
|
||||
property BeforeClose;
|
||||
@ -892,7 +894,8 @@ begin
|
||||
L2.Add(F2);
|
||||
end;
|
||||
Dataset.DisableControls;
|
||||
Try
|
||||
Try
|
||||
Dataset.Open;
|
||||
While not Dataset.EOF do
|
||||
begin
|
||||
Append;
|
||||
|
Loading…
Reference in New Issue
Block a user