View Issue Details

IDProjectCategoryView StatusLast Update
0003479JEDI VCL00 JVCL Componentspublic2006-04-05 05:17
ReporterhanspAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.30 
Summary0003479: JcCSVDataSet - HeaderRow not cleared when HasHeaderRow is false
DescriptionThe component will only allow Active = True if HasHeader = True.

If you don't set HasHeader to True, then you get "CSVFieldDef, FieldDefs, and file contents must match."

When you do set the HasHeader to True, it populates the HeaderRow, however, doesn't clear it if you then set HasHeader = False.

If you then try to set Active = True again, the HeaderRow is still populated, and you "CSVFieldDef, FieldDefs, and file contents must match."
Additional InformationShould the component automatically generate default fieldnames, eg. "Field1", "Field2", ..., when HasHeader = False?
TagsNo tags attached.

Activities

obones

2006-04-05 05:17

administrator   ~0008955

HeaderRow is now cleared and Active set to False when changing the value of HasHeaderRow. It's the best I could come up with right now.

Issue History

Date Modified Username Field Change
2006-01-29 14:52 hansp New Issue
2006-04-05 05:17 obones Status new => resolved
2006-04-05 05:17 obones Resolution open => fixed
2006-04-05 05:17 obones Assigned To => obones
2006-04-05 05:17 obones Note Added: 0008955