BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-06-2008, 12:27 PM   #1 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8830
PIN: N/A
Carrier: verizon
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.