View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003735 | JEDI VCL | 00 JVCL Components | public | 2006-05-31 03:19 | 2006-06-09 05:22 |
Reporter | rudi | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 3.20 | ||||
Target Version | Fixed in Version | ||||
Summary | 0003735: JvCsvDataSet cuts long lines | ||||
Description | The JvCsvDataSet limit fields to 80 chars max, while adding some crap to too long lines. | ||||
Additional Information | When 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. | ||||
Tags | No tags attached. | ||||
2006-05-31 03:19
|
testdata.csv (5,483 bytes) |
|
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. |
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 |