Vote UpVote

Poor Man’s CSV Export

The Art of Delphi Programming – Recently I came to the point where I had to export the tables of a database as CSV files. While in FireDAC there is TFDDataMove, I wasn’t able to use it as I encountered a bug  in that component that rendered the output useless. (The bug has been fixed by Dmitry the day after I mentioned it, but is not publicly available yet.) So I wondered how such a simple CSV export can be done with things available in Delphi. Well, here it is:procedure ExportDataSetToCVS(DataSet: TDataSet; const FileName: string); var fld: TField; lst: TStringList; wasActive: Boolean; writer: TTextWriter; ...
Favorite? Off-Topic? Uwe Raabe @ 2013-11-06 00:42


Visits: 1196
Votes: 4
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Andreas Schachtner
Jim McKeeth
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)