From: "Lurenzel" <[EMAIL PROTECTED]>
Subject: Can a Palm database have more than one field per record?


> Suppose that you wish to enter a FirstName and LastName in a palm database
> without putting both into the same field. Can I write the FirstName to one
> field and the LastName to a different field in the same record or must I
> write each to a separate record?

The Palm OS doesn't much care what you put in a database record.  As far as
the OS is concerned, a database record is just a series of bytes.  Your app
has to interpret those bytes in whatever way you want it to.  Normally, you
use a struct to define the fields in your database records.

See http://www.palmos.com/dev/tech/docs/devguide/ch06.htm#TopOfPage for Neil
Rhodes' excellent description of how to use a database in your program.



-- 
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