View Issue Details

IDProjectCategoryView StatusLast Update
0003951JEDI VCL00 JVCL Componentspublic2007-10-12 04:04
ReporterultimoAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionunable to reproduce 
Product Version3.20 
Target VersionFixed in Version 
Summary0003951: Error on import file with field name with :
DescriptionWhen importing file with fields name with :, application raise an exception.
Below the are a solution

Change
        CsvFieldName := Copy(CsvFieldOption, 1, Pos1 - 1);
        // If character after the colon is a symbol character, grab
        // it, otherwise default to '$'.
        if Ord(CsvFieldOption[Pos1 + 1]) < Ord('A') then
with

        // If character after the colon is a symbol character, grab
        // it, otherwise default to '$'.
        if (Ord(CsvFieldOption[Pos1 + 1]) < Ord('A')) and
         not (CsvFieldOption[Pos1 + 1] = '') then
TagsNo tags attached.

Activities

obones

2006-10-10 00:59

administrator   ~0010338

Which component ?

ultimo

2006-10-11 12:03

reporter   ~0010344

In TjvCsvDataSet

Sorry.

obones

2007-01-04 04:10

administrator   ~0010525

Please provide the zipped sources of a sample application showing this.

obones

2007-06-19 04:53

administrator   ~0013416

Hello?

obones

2007-10-12 04:04

administrator   ~0013892

No news, closing the issue

Issue History

Date Modified Username Field Change
2006-10-09 08:52 ultimo New Issue
2006-10-10 00:59 obones Note Added: 0010338
2006-10-10 00:59 obones Status new => feedback
2006-10-11 12:03 ultimo Note Added: 0010344
2007-01-04 04:10 obones Note Added: 0010525
2007-06-19 04:53 obones Note Added: 0013416
2007-10-12 04:04 obones Status feedback => resolved
2007-10-12 04:04 obones Resolution open => unable to reproduce
2007-10-12 04:04 obones Assigned To => obones
2007-10-12 04:04 obones Note Added: 0013892