C api tool kit - Admin/Tracker - Urgent Help needed

Hi all,

In  Admin/Tracker api it is possible to copy deleted document from one DB to another. my requirement is to add the updated document of  Tracker db  to  trashcan DB. But  the problem is that following code written here get handle before Updating the doc. So the modifed fields are not updated to the copied doc  .( ie the doc is copied to trashcan  DB but The modifed field values of Tracker  Db doc are not reflected  to  trashcan  DB doc because the doc is copied just before modifyng the Tracker db document). Pls Help me how to get handle after modifyng the document.

-also pls tell me how to get handle for the new document after save event occurs

if (NoteID == NOTEID_ADD

|| NoteID == NOTEID_ADD_OR_REPLACE

|| NoteID == NOTEID_ADD_UNID)

{

if (*pUpdateFlags & UPDATE_DELETED)

; // Adding a new “deleted note stub” to a database

else

; // Adding a new document to a database

}

else

{

if (*pUpdateFlags & UPDATE_DELETED)

; // Deleting an existing document from the database.

// Note that in this case, the contents of the hNote

// may be nil and should be disregarded; because of

// this, there’s no way to tell the class of a note

// being deleted at this point

else

; // Updating an existing document in the database

}

Thanks in advance.

Subject: C api tool kit - Admin/Tracker - Urgent Help needed

There is a function NSFNoteUpdate; this might help you.

Subject: RE: C api tool kit - Admin/Tracker - Urgent Help needed

Thanks for your reply.NSFNoteUpdate updates a note right. but for Newly created doc how to get the handle after Save?