> From: adam davies
>
> //Constants that define the 1st database record
> #define DB_ID_START 0
> #define DB_ID_SIZE (sizeof(ULong))
> #define DB_ITEM_START (DB_ID_START + DB_ID_SIZE)
> #define DB_ITEM_SIZE 2
> #define DB_QUANT_START (DB_ITEM_START + DB_ITEM_SIZE)
> #define DB_QUANT_SIZE 2
> #define DB_RECORD_SIZE (DB_QUANT_START +
> DB_QUANT_SIZE)
>
What are the DB_ITEM and DB_QUANT that you think take 2 bytes each?
You should post the code you use to write a db record.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/