LotusScript code crashes Domino server and client version 8.5 (tested on following platforms: Domino 8.5 @ SuSe Linux, Domino 8.5 64 bit version @ Windows Server 2003 x64, Notes 8.5 @ Window XP, Notes 8.5 @ Mac OS X 10.5.6) when view category has more then 250 entries.
This code works fine on any other Notes/Domino version lower then 8.5 (tested on: Domino 8.0.2 @ Windows Server 2003, Domino 7.0.3 @ Suse Linux and Windows Server 2003, Notes 7.0.3 @ Windows XP)
Actual agent is called from WebQueryOpen event of form, and shows documents for specific date. But I think it’s insignificant, because code in example crashes client too.
Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
Dim view As NotesView
Dim nav As NotesViewNavigator
Dim entry As NotesViewEntry
Dim ssCode As String
Dim ssDate As String
ssDate = "2007.04.11"
Set view = db.GetView("ToDayDocHTML")
Set nav = view.CreateViewNavFromCategory(ssDate)
If Not nav Is Nothing Then
Set entry = nav.GetFirstDocument
Do While Not entry Is Nothing
ssCode = ssCode + entry.COLUMNVALUES(3)
Set entry = nav.GetNextDocument(entry)
Loop
End If
End Sub
Any suggestions?