05-09-2009 12:20 PM
Sorry for a likely newbie question, but I want to create an app with a prepopulated database and was wondering if I should include a CSV file with my app then create a new RecordStore by parsing that data.
Also, can I then delete the CSVfile in order to save space?
My database is big (near 500k) and I need to be able to do SQL-ish searches on it.
From what I understand, there's no way to bundle data with a recordstore.
Solved! Go to Solution.
05-09-2009 02:38 PM - edited 05-09-2009 02:39 PM
Compile a different cod file with csv file inside (different project in JDE).
It will be a different (container) cod file.
For example let's it name will be: container.cod
In your main application try to open file from containier.cod via the following url string:
myfile.csv - is file name of your csv file included in container.cod file
It is not documented approach but it should work.
When the file is loaded and processed you can delete container.cod file from the device programatically.