View Issue Details

IDProjectCategoryView StatusLast Update
0003735JEDI VCL00 JVCL Componentspublic2006-06-09 05:22
ReporterrudiAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version3.20 
Target VersionFixed in Version 
Summary0003735: JvCsvDataSet cuts long lines
DescriptionThe JvCsvDataSet limit fields to 80 chars max, while adding some crap to too long lines.
Additional InformationWhen a field with more than 80 chars is in the CSV, the parser copies only the first 80 chars, and it seems the #0 charachter (BTW: why do you use PChar?) does not get appended, so there is some crap after the cutted line.
I attached a file which triggers the error.
TagsNo tags attached.

Activities

2006-05-31 03:19

 

testdata.csv (5,483 bytes)

obones

2006-06-09 05:22

administrator   ~0009533

Well, the "garbage" thing does NOT occur with the latest version here:

http://jvcl.sf.net/daily/

And further to this, please read the top of the source files, it is CLEARLY described here that you have to set the length of the field in the header row if you have one as it will overwrite what is defined at design time in the FieldDefs property. In your case, do this:

C,D:$250,E,F

And you'll be sorted.

Issue History

Date Modified Username Field Change
2006-05-31 03:19 rudi New Issue
2006-05-31 03:19 rudi File Added: testdata.csv
2006-06-09 05:22 obones Status new => resolved
2006-06-09 05:22 obones Resolution open => no change required
2006-06-09 05:22 obones Assigned To => obones
2006-06-09 05:22 obones Note Added: 0009533