Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error Mssg when trying to delete email:

Status
Not open for further replies.

Pccoordinator

IS-IT--Management
Feb 22, 2000
101
US
"Cannot remove NotesDocument when instantiated by NotesUIDocument"
 
Is it open? eg: in the preview pane

Find me @ onlinecorporatesoftware.com
 
Hi,

This is an programming error in a Notes script. You are trying a .remove action on a document that is opened trough a uidocument.

For example: you define uidoc as the current opened document.
Then you set doc as uidoc.document

Now you can not do doc.remove because otherwise the uidoc can not exist. Move the doc to the trash folder by using move to folder and removefromfolder, or delete the uidoc!

Hope this helps!




Kind regards,

Dominik Malfait
dominik@amazingit.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top