Hi there, I have a problem with changing control properties on Request Options Page, NAV 2013.
That is what I am trying to do,as example:
I have a function "UpdatePage", it's executed on OnOpenPage trigger.
Function:
IF AnalyseType = TRUE THEN BEGIN //AnalyseType - boolean variable
RequestOptionsPage.Control1.ENABLED(TRUE);
That will work in NAV 2009 but in 2013 I get this - "You have specified unknown variable ENABLED...".
Any ideas what's wrong? Thx.
Comments
Or simply
and set Control1ENABLED on Enable property of Control1 on request Page.
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I have a similar problem.
I try to upgrade from 2009 R2 to 2013 SP1/R2 and now I am at the point where I have to import the converted reports.
After compiling, I got a few errors with unknown variables (p.e. "You have specified an unknown variable. ENABLED Define the variable under 'Global C/AL symbols'."
So my questions are:
1. Where do I have to define the variable? At the VAR section in the Report? I cannot find the Global C/AL symbols
2. How do I write the new code?:
Best regards
Navigate to View - C/AL Globals to define these Boolean variables.
New Code -
Where
1. EnableFields is of type Boolean, with IncludeInDataset To True.
2. EnableFields is Set to Enable Property of Fields - Filename & SheetName in Report Request Page.
(Navigate from View - Request Page)
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
I cannot see the point View --> "C/AL Globals".
I am using NAV 2013 SP1.
I wrote the code in the converted OldBaseVersion_Reports.txt like this:
After the import, I try to compile the Reports and there is no error. Does it work?
Can I do that or do I have to change the FileNameENABLED just to FileNameEnable?
BR