Hi
In Report Module how can we write a simple if expression in Property Inspector when using Use Dynamic data key?
For example following expression doesn’t work and i want simple if statement:
if(key1 = 1, True, False)
Hi
In Report Module how can we write a simple if expression in Property Inspector when using Use Dynamic data key?
For example following expression doesn’t work and i want simple if statement:
if(key1 = 1, True, False)
I would suggest a statement like this for simplicity:
key1 == 1
Or if you want to manually choose the possible outputs, I would suggest the following:
key1 == 1 ? true : false
If you have more questions about using Dynamic data keys in the Report Module, try the following video:
The reporting engine uses a totally different "expression" mechanism, so the syntax is totally different.
It seems the key name that including space doesn’t work in expression:
[key 1] == 1 ? true : false
{key 1} == 1 ? true : false
@key 1@ == 1 ? true : false
I believe you put the entire expression inside the @, @key 1 == 1 ? true: false@
No it is not working. I can’t find any document for dynamic key expression syntax in manual.
So, how should I write our keys in the expression if there is space in the key name?
I check all of the syntax and none of them work for me.
It seems like the answer is "don't use keys with spaces" - I don't see any way to 'escape' them: