How to sort a NotesDocumentCollection in Lotusscript

This Lotusscript function sorts a document collection on one or multiple fields. I have previously used several other algorithms that use a view to sort the collection, these however have the drawback that they become very inefficient (i.e. slow) as the number of documents in the view used for sorting grows. The solution presented below… Continue reading How to sort a NotesDocumentCollection in Lotusscript

Programmer’s Frustration

I just wanted to share this great story by Damien Katz, a former programmer at Iris/Lotus. I first read it about a year ago and came across again today. It’s about Damien as a novice C++ programmer rewriting one of the core components of Lotus Notes/Domino – the formula engine, originally written by Ray Ozzie.… Continue reading Programmer’s Frustration

Failed to update database “XXX.MDF” because the database is read-only

After a few hours of Googling and testing things I finally solved this problem so I thought I’d write the solution down both for my own and other’s benefit. What I did to get the error:I had just done some changes to one of my web sites using Visual Studio 2005 and ASP.NET 2.0 with… Continue reading Failed to update database “XXX.MDF” because the database is read-only