When I run the following script (script in view action button) in debug mode, the NotesUIWorkspace object does not contain NotesUIDocument (CurrentDocument) nor NotesUIDatabase (CurrentDatabase).Only NotesUIView object is set (CurrentView):
Dim uiw As New NotesUIWorkspace
Dim db As NotesDatabase
Dim uidoc As NotesUIDocument
Dim uiv As NotesUIView
Set uidoc = uiw.CurrentDocument
Set db = uiw.CurrentDatabase.Database 'throws an Object variable not set error here!
This is a problem because I cannot debug my scripts which contain the NotesUIWorkspace object…
Please let us know!