I have solved the problem a different way but yes, a structure does seem to
be the way to go. It makes perfect sense. I will have a closer look at what
Neil Rhodes has to say. Thanks
----- Original Message -----
From: Richard Burmeister <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Monday, June 12, 2000 7:03 AM
Subject: Re: Can a Palm database have more than one field per record?
> 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/
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/