You can allocate record sizes less than 1k.  Usually, you declare a record
struct and do something like this:

  DmNewRecord (gxxxxxxDB, &index, sizeof (myRecStruct));

But things get a little more complicated if you have variable field widths
and pack / unpack your data.

Regarding the 3 databases, that's application specific.  I've read accounts
where people run out of resources by keeping x databases open (I can't
recall what the limit is).  Three seems reasonable to keep open for the life
of your app.


--
Michael Yam
www.ytechnology.com
[EMAIL PROTECTED]


Timothy Astle <[EMAIL PROTECTED]> wrote in message
news:8285@palm-dev-forum...
>
> To build upon my own discussion.. heh heh
>
> Is there any way to create a record that is more "optimized"?  I assume
that
> the following:
>
> DmNewRecord(gxxxxxxDB, &index, 1)
>
> Indicates the the record being created will be 1 kb.  Is that the lowest
> value it can be or is there something I'm not aware of?
>
> Tim
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to