> From: dhanushka jayakody
>
> I want to extract data from a SQL DB and show them on
> a Palm.
> This is a report viewing program.The amount of data
> handled is kind of huge.
>
> I want someone's advice on selecting a better way to
> store these records.
> To my knowledge i have two ways.
>
> 1. Create different structures and store them.
> 2. Concatenate one recored into a single string and
> store.
>
> If i use structures will it be easy for me to develop
> the conduit? It's kind of difficult to fill data into
> structures.
>
> If it's the second method i think it's easy to develop
> the conduit.Also it's a better way of saving RAM.
>
On all current Palm OS devices, saving memory is an absolute requirement.
There just isn't enough memory available to waste any. However, strings are
not always the best way to save data. For example, numbers are
inefficiently represented by strings. (E.g., you can store ffff in 4 bytes
vs. 6 bytes required for "65535".)
If you are having difficulty understanding and implementing data structures
for your Palm program, maybe you should consider using Satellite Forms, or
some other environment, for developing your app. SF, for example, takes
care of most of the data storage and synchronization details for you.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/