I simply want to push “delete” and the document to dissapear… Just like in the inbox/mail. Instead of first accepting the deletion with F9
But the inbox is a folder, and I dont think it has anything to do with soft deletion.
I can probably make a database-deletion script, but if someone knows a simply trick or even a checkmark I will be happy…
Thanks in advance…
Subject: How to delete a document in a view without F9
Database Deletion script. If you open your mail template, there is one there and you only need like three lines of it … something like …
Sub Querydocumentdelete(Source As Notesuidatabase, Continue As Variant)
Call source.documents.RemoveAll ( False )
Dim w As New notesuiworkspace
w.viewrefresh
continue = False
End Sub
Note that when I use this, I definitely enable soft deletes and usually set the #hours = 720 (one month) so that I don’t have a lot of tears 
regards,
raphael