It can be done. You will place your code in the OnAfterGetRecord and/or OnAfterGetCurrRecord triggers of the form (perhaps create a new function and call that one function from both locations). You write your code to check the record. You can then use the CurrForm commands to allow/deny access to fields or the form.
Answers
Microsoft Dynamics NAV Developer