I think the problem is that from a synchronisation perspective is there no
difference between "new" and "changed" -- both need to be updated on the
other side. A new record is thus marked dmRecAttrDirty.

Do you know how the records are inserted in the database? If they are just
concatenated and not inserted in index order you could keep track of the
last index and retrieve/inspect them from there...

Just a though.

Karl-Koenig Koenigsson

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Chris
> Tsoi
> Sent: Monday, September 10, 2001 11:00 AM
> To: Palm Developer Forum
> Subject: Re: how to determine a record is new
>
>
> >From the document of Palm OS, DmRecordInfo can get the record's
> attributes.
> That is dmMaxRecordIndex, dmAllRecAttrs, dmRecAttrBusy, dmRecAttrDelete,
> dmRecAttrDirty, dmRecAttrSecret
> and also dmSysOnlyRecAttrs. By bitwise operation, I can determine whether
> the record is deleted.
> And by & dmRecAttrDirty, it can indicate whether the record has been
> modified since last sync. So, I want to ask
> is there any flag that can show the record is a new one.
>
> Thank you for your attention.
>
> "Holger Klawitter" <[EMAIL PROTECTED]> wrote in message
> news:62068@palm-dev-forum...
> >
> > by calling DmRecordInfo
> >
> > I am not sure what you mean by "new".
> > Compared to the age of the earth all records on Palm devices are rather
> > new :-)
> >
> > With kind regards / Mit freundlichem Gru�
> >     Holger Klawitter
> > --
> > Holger Klawitter
> > [EMAIL PROTECTED]                             http://www.klawitter.de
> >
> >
> >
>
>
>
> --
> 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/

Reply via email to