Hi
I am new to Lotus Notes.
I am writing code in a button. Once the code is executed or action is performed, I need to close and Delete the Current Mail Document.
I am trying to use this code..
Call Workspace.CurrentDocument.Document.Remove(1)
It throws an error message saying "Cannot Remove NotesDocument when instantiated by NotesUIDocument"
Any thoughts or ideas in this regard would be more helpful.
Keep Smiling,
Shoot
I am new to Lotus Notes.
I am writing code in a button. Once the code is executed or action is performed, I need to close and Delete the Current Mail Document.
I am trying to use this code..
Call Workspace.CurrentDocument.Document.Remove(1)
It throws an error message saying "Cannot Remove NotesDocument when instantiated by NotesUIDocument"
Any thoughts or ideas in this regard would be more helpful.
Keep Smiling,
Shoot