diff --git a/source/tabletools.pas b/source/tabletools.pas index f253b8f8..1c4a50bf 100644 --- a/source/tabletools.pas +++ b/source/tabletools.pas @@ -717,7 +717,6 @@ var NewIdx, NetType: Integer; DBNode: PVirtualNode; SessionName: String; - Databases: TStringList; begin // Target type (file, directory, ...) selected OldItem := comboExportOutputTarget.Text; @@ -777,8 +776,7 @@ begin Screen.Cursor := crHourglass; try FTargetConnection.Active := True; - Databases := FTargetConnection.GetCol('SHOW DATABASES'); - comboExportOutputTarget.Items.Text := Databases.Text; + comboExportOutputTarget.Items := FTargetConnection.GetCol('SHOW DATABASES'); comboExportOutputTarget.Items.Insert(0, '[Same as on source server]'); comboExportOutputTarget.ItemIndex := 0; Screen.Cursor := crDefault;