ARRAS, seit 938 N e w s 4 N o t e s
Home  |  Sitemap  |  Links    
.: News4Notes :: 04.02.2011 :: 08:33 :: Lotus Notes and Domino News :.
Using a NotesNoteCollection as a "manual" note container
Send link  |  Feedback  |  Print

« U T I L I T I E S »

RSS news 2.0
RSS validate
RSS tips 2.0
RSS validate
OPML domino
Find RSS
ND6 powered
DDN hosted
CAR designed
GEO url
open NTF
Lotus Geek

by Andre Guirard

From a question in one of the BOFs here, I've learned that the documentation of the LotusScript NotesNoteCollection method (NotesCollection in the Java API) contains a significant error. The help for the BuildCollection method says, "You must build the collection before it is usable." This is wrong. The documentation writers were only imagining one use for the collection - to search for notes. But there's another use for a NotesNoteCollection -- as a generic container for notes that you find by some other means, and add to the collection with the Add method. If this is how you're using the object, there's no need to call BuildCollection. This is a significant difference, because BuildCollection takes time to execute even if you haven't specified any search criteria. Speed things up by deleting the call.
« Read the full article... »

.: News4Notes :: Lotus Notes and Domino News :: News4Notes :.
Daily technical Lotus Notes and Domino News at or as RSS feed at