Hi
we have many databases created from the same template.
There is a shared action on selected documents (Set collection = uiview.Documents).
The shared action calls a function in a script library:
Function myFunction(destdb As NotesDatabase) As NotesDocument
'Globals
'ws As NotesUIWorkspace is declared global in the library
'Locals
Dim view As notesview
Dim acoll As Notesdocumentcollection
Dim vName As String
On Error Goto ErrorRoutine
ok=Msgbox(“My first Question?”,4+32,“First Question Title ?”)
If Not ok=6 Then
ok=Msgbox(“My second Question?”,4+32,“Second Question Title ?”)
If ok=6 Then
…
Else
vName, = “MyView”
Set acoll = ws.PickListCollection( 1 ,False, destdb.Server, destdb.Filepath, vName, “Title”, “Please select a document”" )
…
End If
End If
…
End Function
For a short time in two of our databases both msgbox - lines are simply ignored,
also the debugger jumps in the line but nothing happend and next line will be executed.
So it always continues the ws.PickListCollection >> This works.
I tried MessageBox instead of MsgBox, but it makes no difference.
Also noticable: opening the database it comes with a left frame containing an outline and a right frame an empty page.
The action is a button in a view (uiview) and normally if the action was finished it returns to the view, but
in the concerned databases it changes the right frame to the empty page??
Any idea?