Good morning,
unfortunately my initial approach for using a formula to identify the section the formula is iused in, was not possible with built-in methods (
I now have a new approach but I seem to be getting one detail wrong.
Idea is to have a global stringvar as identifier in each section that changes value with section change. And then use this stringvar in a formula within that section.
However, the stringvar section is being shown correctly in each section but the result of test is always the same (that for the second section.
Does anybody see what I am doing wrong?
Thank you
Alex
unfortunately my initial approach for using a formula to identify the section the formula is iused in, was not possible with built-in methods (
I now have a new approach but I seem to be getting one detail wrong.
Idea is to have a global stringvar as identifier in each section that changes value with section change. And then use this stringvar in a formula within that section.
Code:
//formula a
global stringvar section:="a"
//formula b
stringvar section:="b"
//formula test
stringvar section;
local numbervar test;
If section="a" Then
test:=1
Else If section="b" Then
test:=2;
test
Does anybody see what I am doing wrong?
Thank you
Alex