Forum > Database
Possible bug in TCSVDataSet?
Thaddy:
FirstLineAsFieldNames then second set Active.
Active relies on the setup. You can find the proof in the sourcecode.
wp:
Yes, I would have been very much surprised if it were the other way round.
egsuh:
--- Quote ---When a dataset is active its structure cannot be changed any more. Therefore, I'd propose to FIRST set FirstLineAsFieldNames=true and THEN to set Active=true (untested).
--- End quote ---
Yes, it's the way that works. But hope there be a way to change the setting.
Thaddy:
--- Quote from: egsuh on August 27, 2022, 06:02:04 am ---Yes, it's the way that works. But hope there be a way to change the setting.
--- End quote ---
Not on the same Tdataset, you will need another Tdataset for that is the easy way.
Navigation
[0] Message Index
[*] Previous page