Subject | IB_Export bug |
---|---|
Author | |
Post date | 2014-12-08T13:36:32Z |
Hi
After upgrading from IBO 4.9 to IBO 5.5.5.2152 exporting to dbf is broken. Integer fields are all "0", string fields truncated to first char.
Delphi XE3. Installed d2014 packages (d2013 do not compile).
Code to reproduce:
Drop on form
IB_connection,
IB_Query connected to IB_connection,
IB_Export connected to TIB_Query.
if not IB_Export1.Dataset.IB_Connection.Connected then
Exit;
with IB_Export1 do
try
Screen.Cursor := crHourGlass;
Dataset.SQL.Text := 'select some fields from any table';
Dataset.Open;
FileName := 'Any path';
ExportFormat := efDBF;
Execute;
finally
Screen.Cursor := crDefault;
if Dataset.Active then
Dataset.Close;
end;
Regards, Tomek
After upgrading from IBO 4.9 to IBO 5.5.5.2152 exporting to dbf is broken. Integer fields are all "0", string fields truncated to first char.
Delphi XE3. Installed d2014 packages (d2013 do not compile).
Code to reproduce:
Drop on form
IB_connection,
IB_Query connected to IB_connection,
IB_Export connected to TIB_Query.
if not IB_Export1.Dataset.IB_Connection.Connected then
Exit;
with IB_Export1 do
try
Screen.Cursor := crHourGlass;
Dataset.SQL.Text := 'select some fields from any table';
Dataset.Open;
FileName := 'Any path';
ExportFormat := efDBF;
Execute;
finally
Screen.Cursor := crDefault;
if Dataset.Active then
Dataset.Close;
end;
Regards, Tomek