Any particular reason you can't create a temp database & dump the records
into it while you are in the process of scanning?  After scanning, if the
temp db has records, you can just whatever you want to them.


-Tom

> I am in the process of writing a function to export some data from a database
> to Memo Pad and would like some advice/suggestions.
> 
> I will need to work my way through the entire database to create the
> information to be exported.  What's the best way to allocate the storage?
>   1) Create an intital empty record and then resize it as needed before I add
> additional information to it.
>   2) Allocate a Char array for the first record and create a new array to hold
> the previous array PLUS additional length as I walk through the DataBase
> (throwing out the previous array).
> 
> Any other suggestions??
> 
> JiMZ


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to