Q
Problem solve Get help with specific problems with your technologies, process and projects.

QuerySave to determine if the status field is set

Re the question below... Would it not be possible to Use the form's QuerySave to determine if the status field is set, and if so, disallow saves? I think that would solve the problem - I am actually developing a similar form, and had done just that. Or is there a known issue with this approach?

--------------

There is a document with a few fields, when this form is sent to the dept manager, he/she is suppose to approve or reject (with actions). After clicking the action, will update a "status" field. Then when go to view, nobody is able to edit the document, only the domino manager. If all are given Editor ACL, is this possible?

This question posed on 28 March 2001

If you are trying to completely restrict edit access of the entire document, then the answer is No. If you are trying to manipulate sections in the document, then yes, you can use Editor ACL Access and roles/groups in your Access Controlled Sections to define editor access for those sections where you need to limit access. If you are trying to completely restrict the entire document, you should give your users Author Access to the database (Via Roles: important) and populate an Author Names field on the document with the appropriate names of roles based on what the "status" of the document is.

--------------


I'm not sure what is being asked. The bottom paragraph is correct. The first paragraph is somewhat correct in that form events could be used to "simulate" access control. I would usually not recommend that approach, however if I were going to use it, I would probably use the Postopen() event in conjunction with the QueryModeChange event and manipulate the EditMode property. This is NOT security, though as it can easily be overridden by a savvy user.


Dig Deeper on Domino Resources - Part 5

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close