> From: Seeley, Steve E
>
>       I've read in prior posting here and in other articles that there is
> a general rule of thumb that DB records should not vary in structure or
> length from record to record in any given DB.
>

On whose thumb did you find that rule? :)

A Palm database record can contain any bytes you want to store in it, up to
about 64KB.  There is no requirement that each record be the same size or
shape.  Use whatever makes the most sense for the data you want to store.
Sometimes, it will be best to use identical record structures for a single
database (like in a table) with different record structures in another
database (like another table).  Other times, it will make more sense to mix
different structures and sizes.  For example, it is common to use mixed size
records when each record might include a variable number of strings (or even
one string, since there is no reason to store anything after the final '\0'
and the strings are therefore likely to be of different sizes.)


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

Reply via email to