Hi,
can anyone please let me know how to get the number of documents of a notes database?
Additional I need a counter that counts the numer of deleted documents in a database. How can I access to this deleted documents?
thanks
David
Hi,
can anyone please let me know how to get the number of documents of a notes database?
Additional I need a counter that counts the numer of deleted documents in a database. How can I access to this deleted documents?
thanks
David
Subject: C-API: Getting Number of Documents
To get the # of documents in a db you will probably need to use the NIFOpenCollection/NIFReadEntries functions and pass it the document type you want to get. For data documents I think is is NOTE_CLASS_DATA / NOTE_CLASS_DOCUMENT.
To get at the deleted documents you will need to use NSFDbGetModifiedNoteTable and IDScan.
Check out the C API documentation.