Quantcast
Channel: Microsoft Dynamics NAV Forum - Recent Threads
Viewing all articles
Browse latest Browse all 29197

CurrPage.EDITABLE(FALSE);

$
0
0

I have this code in an Action button of a New page I've created.

The idea is that if I call my "post" function, and it returns "TRUE", the page should not be editable at all

Register Receipt - OnAction()
IF (MyCodeUnit.Post(Rec)) THEN 
   CurrPage.EDITABLE(FALSE);

However, this is not working. The page is still editable, even after "CurrPage.EDITABLE(FALSE);"

Any ideas on why it's not working or how to achieve this behaviour??


Viewing all articles
Browse latest Browse all 29197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>