I have a small application I wrote to import CSV data with multiple datatypes into a PDB. It's very simple (can't handle odd cases with the CSV) but works like a hot damn, and is blazingly fast, even on 16mHz DragonBalls.
The example data uses a variety of formats, with the first column identifying the structure for the rest of the record. It's cheap and nasty, non-conforming to common sense, but I needed to save room. The result is, I no longer use this code. I use XML. http://www.marginsoftware.com/products/examples/csv2pdb.zip -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Hall Sent: Monday, April 19, 2004 5:46 AM To: Palm Developer Forum Subject: Importing/Exporting flat files I was hoping someone might be able to point me in the right direction. I need some guidence in coding the following type of functions: 1) Importing a flat ascii file, created outside of the palm environment, into the handheld 2) Reading the flat file and creating a data file that the palm application can read and update. (I have seen code examples writing to palm database files...but I don't know how to read from the flat file). 3) Creating a flat file and exporting it to a PC. If you can give my any advise or point me to any articles and/or code samples that do these type of tasks, it will be greatly appreciated! Thanks Chris Hall -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
