Prevent the editing of documents

Hi All, I need to know how to prevent the editing of documents other than specifying querymodechange = False. I did try this but if i choose edit from the action menu the document becomes editable. So in need some other way to stop it.

Thanks in Advance,

Venkatesh

Subject: Prevent the editing of documents

Hi.Can’t handle it with the ACL?

If you caan’t, you got to put code in the postopen-event to make sure the doc is not in editmode. That will solve your “edit-from-the-action-menu” problem. :slight_smile:

Hope this will help yuo.

/Jocke

Subject: RE: Prevent the editing of documents

Thanks Jocke, But i tried it out too…that didnt work as well…Any other way to handle the issue…

Subject: RE: Prevent the editing of documents

Strange. I use that all the time.

This code in the postOpen-event:

'*******

’ Some declarations and maybe some if’s…

'*******

If uidoc.editmode Then uidoc.editmode=False

Subject: Prevent the editing of documents

Here are a few other suggestions:

http://www-10.lotus.com/ldd/nd6forum.nsf/Search?SearchView&Query=prevent%20and%20editing%20and%20document&SearchOrder=0&Start=1&Count=150