Editable lookupforms

Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
edited 2005-08-10 in NAV Tips & Tricks
Everybody who uses Navision knows that setup tables like posting groups are always editable.

Normaly you need to change the userrights in order to prevent users from changing codes or you need to have 2 forms.

A simple workaround is to add the following code to the OnOpenForm trigger
CurrForm.EDITABLE(NOT CurrForm.LOOKUPMODE);


Greetz,

Marq

Comments

Sign In or Register to comment.