53 |
|
|
54 |
|
TIBBatchMove = class(TComponent) |
55 |
|
private |
56 |
– |
FIBLoaded: Boolean; |
56 |
|
FDestination: TIBTable; |
57 |
|
FSource: TIBCustomDataSet; |
58 |
|
FMode: TBatchMode; |
104 |
|
|
105 |
|
implementation |
106 |
|
|
107 |
< |
uses IBIntf; |
107 |
> |
uses FBMessages; |
108 |
|
|
109 |
|
{ TIBBatchMove } |
110 |
|
|
111 |
|
constructor TIBBatchMove.Create(AOwner: TComponent); |
112 |
|
begin |
113 |
|
inherited Create(AOwner); |
115 |
– |
FIBLoaded := False; |
116 |
– |
CheckIBLoaded; |
117 |
– |
FIBLoaded := True; |
114 |
|
FAbortOnKeyViol := True; |
115 |
|
FAbortOnProblem := True; |
116 |
|
FTransliterate := True; |
119 |
|
|
120 |
|
destructor TIBBatchMove.Destroy; |
121 |
|
begin |
122 |
< |
if FIBLoaded then |
123 |
< |
FMappings.Free; |
122 |
> |
if FMappings <> nil then |
123 |
> |
FMappings.Free; |
124 |
|
inherited Destroy; |
125 |
|
end; |
126 |
|
|