Hi all,
I have one view in my lotus database which is calender view. This view is populated from one of the important form from my database.
When user tick specific detail on that view on particular day and press delete and refresh(f9) then it is deleted from view. Subsequenlty form is also deleted.
Is that any way i stop users deleting this. Or when they select item in calender, they can only view the content by double clicking but can never select and press delete and f9.
Any help would be much appreciated
Software/Hardware used:
ASKED:
April 24, 2009 1:01 AM
UPDATED:
April 29, 2009 1:22 PM
Thanks for the answer. I much appreciate as it has resolved this issue.
Thanks again.
Hi I tried to implement the suggestion but it did not work in my original database except address book.
How can I stop users to delete the content from view.( when they press delete button on any view item and hit f9).
This is really becoming issue and any help would be appreciated.
a) Are you sure? If you correctly set the ACL to remove the ability to delete documents, and you’re still able to do it, then you have a serious problem. Are you certain the ability to delete isn’t being granted by some other ACL entry? Also, it is possible that the document is simply being moved to the trash. Then, when you try to exit the app, you’ll get a dialog box that asks if you want to remove the docs marked for deletion. If you answer Yes, you’ll get an error message saying you don’t have the rights to do that. IOW, you have to test completely to make sure your ACL change really didn’t work.
b) Another option, particularly if you need the user to be able to delete certain types of docs, but not others, is to use the QueryDocumentDelete event (it’s found under Other->Database Resources->Database Script. There, you can check for whatever conditions you want (form name, user name, etc.) and set Continue to True (if you want to allow the doc to be deleted) or False (if you want to prevent the document from being deleted).