I'd like to change dynamically by using the VISIBLE function a control in a report when it fills a certain condition. Is this possible? Am I asking too much to Navision?
-- dulaman "I don't want to believe. I want to know." (Carl Sagan)
hi, my english is not good, but i find with the same problem.
My solution is the next one.
I defined Text Constants and a variable.
TextConstant:
Name: TextConstant1 Value: %1
Variable:
Name: Line
This Line is link with the textbox in the report.
In the C/AL Code i work
IF Condition is true THEN
Line := SUBSTRNO(TextConstant1,Line)
ELSE
Line := '';
Answers
You cannot turn a control on and off like on a form.
My solution is the next one.
I defined Text Constants and a variable.
TextConstant:
Name: TextConstant1 Value: %1
Variable:
Name: Line
This Line is link with the textbox in the report.
In the C/AL Code i work
IF Condition is true THEN
Line := SUBSTRNO(TextConstant1,Line)
ELSE
Line := '';
I hope that this example is useful.
Thank you Mark & jaisa, the answer was there but I was too tired (not to mention too stupid?) to find it out!! #-o
"I don't want to believe. I want to know." (Carl Sagan)
and put in the OnPreSection trigger of the new section
in the OnPreSection trigger of the original section
You're a genius!
"I don't want to believe. I want to know." (Carl Sagan)