My question is "what's the best method of allocating
space for the single HUGE record to be put in the
MemoPad database."

> 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.
>
> > 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??
-- 
__________________________________________________________
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers


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

Reply via email to