I have the following problem: in a customized form I have two buttons : editable and non-editable which change the form editable property. I need to transform this form to a page but the buttons don't work. I tried using a variable but it seems that the page remains with the initial value of the property editable, no matter what I do. I remember seeing in a video from partnersource regarding tranformation tool that you should set the variable used in the OnOpenPage trigger.
So I would like to know if there is a way or a workaorund that I could change the editable property of a page after it is opened or I need to rethink the functionality. I read other posts about this but I didn't find a clear answer, hope I didn't miss anything.
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
There is way that can change the editable property of the button in the page.
Where the code is written to set the button editable or non editable, at that point make the boolean variable true/false depending on condition.
Put that variable name on the editable property of the control.
Remember that when u create the boolean variable in CAL GLOBAL OR LOCAL, please set the IncludeInDataset to YES.
Then and only then u can use that boolean variable into property of the control.
Let me know if there are any other issues.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
In this way, the user who makes the page editable will have to use four actions : one for the page and three for the parts. Do you think there is another way to make the parts editable from the actions of the page (not of the part) ? From what I read so far I don't think it is but I'm new to NAV 2009 and maybe I am wrong.