Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A CSV Import/Export wizard for Delphi?

To avoid reinventing the wheel, I'm looking for some dialog wizard components/libraries that will simplify my job of importing CSV and similar text files into my Delphi/C++Builder application.

In other words, the user of our app can 'open' a suitable text file, and they can 'describe' through the UI how the columns are laid out and how the file columns relate to the datafields that our app offers.

Basic requirements:-

  • Handle different newline styles
  • Handle Tab, Comma and user-specified fixed-width columns
  • User definable column ordering with visual preview of results
  • Handle optional and mandatory columns

Extra goodies:-

  • Be able to save all settings as a 'profile' that can be easily reapplied later.
like image 403
Roddy Avatar asked May 30 '11 21:05

Roddy


2 Answers

Try these two components

  • EMS Advanced Data Import VCL enter image description here

  • EMS Advanced Data Export VCL

enter image description here

like image 85
RRUZ Avatar answered Sep 23 '22 04:09

RRUZ


SMImport comes to mind : http://www.scalabium.com/

like image 45
iamjoosy Avatar answered Sep 21 '22 04:09

iamjoosy