Hi, I've pinched a lot of code from the beginners book with regards to loading a csv into a panel (Chapter 12).
Got all that working how I want so that when a user clicks on a cell it changes the value depending on the value that is already there. The problem is I can't seem to save it!
The code that I have pinched is this:
I've tried changing it to:
It opens the files from File.dirassets but when I try and save there it tells me the file doesn't exist. I read somewhere that this folder is read only, so how then can I open a csv, edit it in my panel and then save my changes? Or where should I put it so I can do this?
Thanks
Got all that working how I want so that when a user clicks on a cell it changes the value depending on the value that is already there. The problem is I can't seem to save it!
The code that I have pinched is this:
B4X:
SaveTableToCSV(File.DirRootExternal, "english.csv")
StringUtils1.SaveCSV2(Dir, Filename, ",", list1, headers)
I've tried changing it to:
B4X:
SaveTableToCSV(File.DirInternal, "english.csv")
StringUtils1.SaveCSV2(Dir, Filename, ",", list1, headers)
It opens the files from File.dirassets but when I try and save there it tells me the file doesn't exist. I read somewhere that this folder is read only, so how then can I open a csv, edit it in my panel and then save my changes? Or where should I put it so I can do this?
Thanks