Forum > Databases

Using index with TCSVDataSet

(1/1)

Vodnik:
Hello!
My program have to scan a directory structure for XML-files, extract some data from them and fill them into the table or DB for user search. Customer asked for "something very simple" and I decided to use TCSVDataSet.
Soon I discovered that indexes can be created for it. What I can't understand - where they are stored? And do they?
When TCSVDataSet is closed, data is stored in CSV-file, but there is no index file created. Is index lost when TCSVDataSet is closed?

Vodnik:
Some light on this was shed here: https://forum.lazarus.freepascal.org/index.php?topic=23425.0

Navigation

[0] Message Index

Go to full version