I'm trying to set in my report a expression depending of a boolean but i cant linked the expression to my global var aux.
proforma Boolean
aux Text
To turn around this problem I tried to create a column and with a/c code I set the column value depending of a boolean
anyone can help?
Answers
Like MyReportTitle, it might be reserved or used elsewhere.
Try to delete everything from the last letter of the ReportTitle up to and including opening quotation character, and then retype missing bits - don't use Ctrl+C + Ctrl+V to put them back
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
IF proforma THEN
MyReportTitle := 'Fatura Pro Forma'
ELSE
MyReportTitle := OrderNoCaptionLbl;
And in my report I set the textbox value to "Globals!MyReportTitle.value" but it prints #Error.. How to get the value from the global?
In RDLC layout, here is the correct syntax "ReportItems!Textbox1.Value" (not Globals!MyReportTitle.value) where Textbox1 is a textbox that you defined in the body of your report.
I strongly recommend you to get some training. If you work for a Partner then ask the seniors around you. If you work for an end users company, then ask your Partner or colleagues. I believe they will be glad to help you.
My excuses if my comment offends you. But, I hope it will put you in the correct path to learn C/AL (AL also).
ReportTitle := 'Some Text';
Text Constant are meant to handle multi language reports (ML... hence Caption ML).
Try to use another name for your variable.
or try google/bing, you'll find some documents
http://www.firebrandtraining.co.uk/pdf/learn/microsoft/dynamics-nav-2016-developer.pdf
80436_NAV2013_ENUS_CSINTRO_01