Don't allow editing of the field

Hi,

The current functionality is if logged in user is unaothorized to edit the contents of one field then user is not allowed to edit that perticular field and by using the statement uidoc.gotofield(Marketing) the cursor is transfered to marketing field.

The functionality to be implemented is field Marketing to which the control is passed, should also be allowed to be edited by authorized people. I have a code which will not allow to edit that field.

But the entering events from which the satement uidoc.gotofield(Marketing) is called overcomes the code present on Marketing field and allows the unauthorized persons to edit. How can I stop from not allowing unauthorized users to edit the contents of Marketing field when the statement uidoc.gotofield(Markeing) is called.

Marketing field is rich text.

One idea can be pass the control to other than marketing field but this is not allowed.

Pls reply asap…its urgent.

Subject: Most direct method: access controlled sections

Place any field or fields you want to protect in an section protected by name or better a role

anyone else wont be able to change it

The field type does not matter

(you can scrap your entering event code too!)

Subject: RE: Most direct method: access controlled sections

I tried Access Controlled section which is protected by Usernames… as I dont have roles in the Database…But that didn’t work as it gives error which says Can not locate field even though the field is present on the form.

Subject: Your Problems with access controlled section

Is probably to do with the Access Formulaand or the fact you are opening an existing document

so keep thisng simple

get a form that works as a starting point

(editable fields that work, no on load or on entry script , no sections)

[Keep a copy]

Create a section round the fields you want to protect

On Tab1 Title and name sensibly

Tab 2 can probably be ignored for now

On TAB 3 make the type Computed for Display

(this make sure that

make sure the formula deals with both new (usaved) docs

and existing ones (using the existing items on the documents)

Get full names Cononicalized

Keep it simple untill we have it working

Let us know how you get on

Subject: Don’t allow editing of the field.

Phew! I was beginning to worry as aadi hadn’t posted this question for a few days