to be restricted manipulating documents from Keyboard or system options and
routed through the process flow as defined in the Application... The following
Database Script will allow you to achieve that..It is a simple trick....does
all the magic.. Check it out!!!
Sub Querydocumentdelete(Source As Notesuidatabase, Continue As Variant)