1. There is no "new" (as in the sense of dirty, busy, etc.) flag.
2. The concept of "new" only has sense relative to some other data store
and during a synchronization operation. If it exists in your data store
(device), does not exist in another data store (desktop, server, whatever),
and should be added to the other data store, then we can call it "new".
Note that dirty and not existing in the other data store isn't quite
accurate. Consider the case of synchronization at multiple desktops. The
dirty flag will get cleared at the first desktop sync, so when the device
moves to the second destop the record will not be marked dirty.
-bob (i sync, you sync, we all sync... glub, glub :) ) mckenzie
-----Original Message-----
From: Brian Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 5:00 AM
To: Palm Developer Forum
Subject: Re: how to determine a record is new
On Mon, 10 Sep 2001, Chris Tsoi wrote:
> 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.
There's your answer. If a record is marked as dirty and it doesn't
already exist on the PC side during a HotSync, then you can consider it
new.
----------------------------------------------------------------------
Brian Smith // [EMAIL PROTECTED] // http://www.arthurian.nu/
Software Developer // Gamer // Webmaster // System Administrator
"An intelligent guard? Didn't see that one coming." - Preed, Titan A.E.
--
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/