Text Files
Please Login to Remove!
Hey guys, I'm a bit of a newb when it comes to BB programming.
I've figured out the basics of UI and I've got a working button and code that creates a text file on the SD card. I can create new files and add the data, but when I try to add new data to an already existing file, stuff gets overwriten.
I need my program to create and then later read text files with this format
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
field1;field2;field3;field4;field5
I'm fine on getting the string into the correct format before writing to the file and I know how to take it apart again once I can get it out of the file, it's the reading and writing part that is giving me fits.
Little help please?
|