A packed record is essentially a string of all the records' fields compacted
together. An unpacked record is a data set containing all fields in their
seperate entities.
Packed records are how the records are stored in the database. You use
unpacked records to access fields, etc. from specific records, by mapping
the records to record structures.
In the date book case, the ApptNewRecord function is creating a new packed
record to be stored in the database. The unpacked record is the new record
that the function will pack.
When you create your structure for unpacked records, set up two variables
called time and description. Then you can set these where ever you need to
for saving information.
Hope this helps somewhat
"Charles Lane" <[EMAIL PROTECTED]> wrote in message
news:44997@palm-dev-forum...
>
> I'm running into a little trouble creating a new date book entry from
> outside the date book application.. could someone explain the difference
> between a Packed and an Unpacked record in the date book's database.. The
> ApptNewRecord method takes in the database reference and a new record, but
I
> can't fathom why it takes in an unpacked record. I also need help storing
> information into an unpacked record as far as times and description..
Thanks
> for all the help! Charles
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/