Setting permissions

NaveenReddyNaveenReddy Member Posts: 53
HI
I am trying to set permission for users. If the user is not an administrator or users with certain rights, then i want to make certain fields not accessable to those users on a Form.
How can i make certain fields not editable for some users on a form ?

Thanks
Naveen.

Comments

  • sfisfi Member Posts: 10
    Naveen,

    You cannot set permissions directly on fields/controls in Navision.

    It will require some coding on the form to change the visibility of the controls. Remember you have to set the Name Property on the controls to be able to set the properties.

    Another easier way is to create a new form as a copy of the original form (Open in Design and then Save As with new ID and Name). Then you delete the necessary controls from the new form and then let the concerned users open the new form.

    You could have a look at the Gen. Journal Template, Form ID field, to see how the Gen. Journal forms are called and copy the functionality from there.

    Good luck.
    Steen Fisker
    Navision Developer since 1990.
    Regards,
    Steen Fisker
    Microsoft Certified Professional
Sign In or Register to comment.