Recent

Author Topic: Schema from a CSV file  (Read 6009 times)

pcwright

  • New Member
  • *
  • Posts: 10
Schema from a CSV file
« on: May 03, 2007, 01:42:17 am »
Can anyone point me to an example of a schema? It's been about ten years since I wrote one and my memory fails me. I could not find an example of one anywhere. I need to open a .CSV file with a TFixedFormatDataSet but have to have a schema for it.
----------------------------------
My wife ask me why I was frowning. I replied, that's not a frown, that's a programmer's smile.

pcwright

arwen

  • Full Member
  • ***
  • Posts: 104
    • http://www.flussiliberi.it/
Schema from a CSV file
« Reply #1 on: May 10, 2007, 04:18:41 pm »
At http://freeflow.awardspace.com/acquarius.html you can download a
little programm that use the SDFDataset to manage data from a CSV file
where the first row is the schema.
To compile the program you must install the TAChart1.2 components from
http://sourceforge.net/project/showfiles.php?group_id=92177

If you are using the Lazarus 0.9.22 before you must uninstall
the  TChart components because there are some conflict with
TAChart1.2

 :)

davesimplewear

  • Sr. Member
  • ****
  • Posts: 321
    • Davids Freeware
Schema from a CSV file
« Reply #2 on: May 25, 2007, 08:39:02 am »
Quote
Can anyone point me to an example of a schema? It's been about ten years since I wrote one and my memory fails me. I could not find an example of one anywhere. I need to open a .CSV file with a TFixedFormatDataSet but have to have a schema for it.
go to torry.net and download the sdf zip and it has a demo with schema for fixed format dataset
All things considered insanity seems the best option

 

TinyPortal © 2005-2018