Plz help urgent! How to make a field locked for a particular user

Hello Everyone,

Please help. I have included one person in a field named manager and i want that person only to edit a field in the form. How to lock the field for that person.

Subject: Plz help urgent!! How to make a field locked for a particular user

Please help. I have included one person in a field named manager and i want that person only to edit a field in the form. How to lock the field for that person?

I’m probably not reading that right, but it sounds like you’re saying you want the manager to be able to edit the field in the first sentence and then you want it locked in the second?

Is this on the web or notes client? I’m going to go with notes client:

Technically there is NO way to do this because if the person has author rights to a document they can change the value of any field. (using an agent for example).

Having said that, I assume what you want is to give the appearance that the person cannot modify the field. What I would normally do is have two field

The actualy field (let’s say name) that is edittable and a computed for display field (lest say name_display) with the formual set to name. Then your set your hide when formulas for the two fields:

For name - I would normally set it to hide for any of the read modes and add

!@IsMember(@Name([Abbreviated];@Userame;YourFieldWIthName);

Then for the the Computed field I would have

@IsDocBeingEdited & @IsMember(@Name([Abbreviated];@Userame;YourFieldWIthName);

Subject: RE: Plz help urgent!! How to make a field locked for a particular user

I have a field of dialog list with two conditions “In process and completed” There is a field named engineer which includes my name. Only myself should be able to make the change to complete.

I have tried to use Input enabled but it does not work.

Subject: RE: Plz help urgent!! How to make a field locked for a particular user

I have a field of dialog list with two conditions “In process and completed” There is a field named engineer which includes my name. Only myself should be able to make the change to complete.

So “Status” has two possible values (In Progress, Completed)

There is a Named field called Engineer.

Only the person who is named in Engineer should be able to change the status. Easy Enough:

As before you have a field called Status and below it a field Called StatusDisplay (Computed for Display) the formula set to Status

The line with Status I would set like this:

The line with StatusDisplay I would set like this:

Therefore:

if the document is open in READ mode you see the StatusDisplay Field (showing just the current Status). Status is hidden because OPen for Reading is set.

If the document is in Edit Mode and “you” are NOT listed in the Engineer field then you see StatusDisplay (just in display mode not edit). Again Status is hidden because @isNotMember is true.

If the doucment is in Edit mode and “you” ARE listed in the Engineer field you see Status (edit mode) and StatusDisplay is hidden because IsDocBeingEdited is True AND IsMember is true.

Hope that helps.

Subject: Plz help urgent!! How to make a field locked for a particular user

Search is your friend:

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/92fcbadd54533152852571fb00404054?OpenDocument&Highlight=0,lock,f%3Feld