>Subject: HotSync problem with big database record
>From: "George Georgiev" <[EMAIL PROTECTED]>
>Date: Fri, 13 Jul 2001 15:57:15 +0300
>
>I have a database that has 3 records with 65000 bytes size.
>When I made some changes in it HotSyncing hang once of
>every three times.
>
>I made similar database with 12 records with 16000 bytes size.
> This problem vanished.
Any time you exceed the maximum size of an Int16 (32K) then
your code has to be very, very careful never to use Int16 instead
of UInt16.
While the Palm OS database format does allow you a little under
64K byte 'records' and a little under 64K 'records', it is good
programming technique to try to design your application for
smaller numbers within the range of Int16. This still gives you
enormous capabilities.
Roger Stringer
Marietta Systems, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/