>I thought I would have two functions for each database. One to populate a
>structure with a record and one to save a structure to the record. I could
>pack data into the record as tightly as possible to save space. When I want
>to edit the record, call my custom function to parse the record and populate
>a structure. Then, when I want to write the record back, call my custom
>function to take the new data in the structure and write back out to the
>record.
>
>Is that a valid approach ? I am definitely interested in hearing what others
>are doing.
Although it's not the simplest or most resource efficient way to do things,
it's about the only way I know of to do any custom compression. We use this
approach (for several reasons) in our product WorldFAQ, and it works fine.
For other approaches, check the built-in apps, and the various Palm
programming books on the market.
Regards,
Steve Mann
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461 805.784.9462 (fax)
[EMAIL PROTECTED] http://www.cdpubs.com