|
|
|
|
|
|
|
|
|
|
|
|
|
|
The strange case of Last Modified dates (continued)
Which meant that we ended up with a code fragment something like this:
Dim AgentLastRan as New NotesDateTime(profile.agentlastran(0))
Dim DocsToProcess as NotesDocumentCollection
Set DocsToProcess = db.Search("@all",AgentLastRan.LSLocalTime,0)
|
This gave us a collection of all the target documents. The only issue that we then had to face was that the returned collection, was, as ever, unsorted. We were able to work with this, so for us, that was job done. But if you aren't, then one reasonably simple way round it would be to:
- Create a new folder, making sure that the view that it inherits its design from is sorted correctly.
- Put the collection into the folder, which will sort it.
- Read the folder to process the documents, in the sorted order.
These actions too, are reasonably quick -- unless your returned collection is very large, in which case the PutAllInFolder will take a little while. But I think it would be worth it.
Dan Velasco is a Senior Technical Editor for WebSpherePower Magazine and DominoPower Magazine. He's a Sun Certified Java Programmer, Sun Certified Web Component Developer and an IBM Certified Solution Developer for WebSphere Studio V5.0. He's also a Principal CLP Application Developer (R4, R5 and ND6) as well as a CLP System Administrator (R4 and R5). You can reach him via email at dvelasco@webspherepower.com or on the Web at http://DanVelasco.com.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Advertisement --
Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done.
Native to Lotus Domino. The User Experience unseen for Lotus Domino.
Do more with less. Really.
See the possibilities Docova unleashes for Lotus Domino. |
-- Advertisement --
Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
- Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
- User friendly aproach, using a point and click access to features
- Reports from any Lotus Notes databases
- Runs reports through a Notes client, web browser and scheduled basis
- Allows use of LotusScript for advanced data manipulation
- Enables self service reporting capabilities to end-users
Learn more at www.integra4notes.com. |
|
|
|
|
|
|
|
|
|
|