> could some one explain to me how a conduit knows that a record in 
> a given database has been modified.

The m_Attribs member of the CRawRecordInfo variable that is passed to
one of the record reading routines has the eRecAttrDirty flag set.

At the end of a sync, you should call SyncResetSyncFlags to clear the
modified etc flags, and SyncPurgeDeletedRecs to remove all records
marked as deleted. The excpetion to calling these routines is if there
is another later conduit syncing the same databases (this can be
difficult to determine <g>).

Cheers,
Jim Cooper

_____________________________________________

Jim Cooper      [EMAIL PROTECTED]
Tabdee Ltd      http://www.tabdee.ltd.uk

TurboSync - Writing Palm conduits with Delphi
_____________________________________________

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