IIF-Function - how to use?
Hi,
as there doesn't seem to be a word about using functions in the documentation: How can I use "IIF" in order to have a user-friendly way of displaying booleans?
[IIF([[DBDataset."Aenderungssicher"]=True], 'JA', 'NEIN')]
Results in "Identifier expected". I tried about a hundred different ways - none of them working. I just want "JA" to be displays in case the field value of "Aenderungssicher" is true. Otherwise I'd like to have "NEIN" displayed instead.
Of course I had a look at the user manual hoping I could find an example - but there's no example that could help me out of this.
So - how do I write this function properly within a memo?
Kind regards
Mark
as there doesn't seem to be a word about using functions in the documentation: How can I use "IIF" in order to have a user-friendly way of displaying booleans?
[IIF([[DBDataset."Aenderungssicher"]=True], 'JA', 'NEIN')]
Results in "Identifier expected". I tried about a hundred different ways - none of them working. I just want "JA" to be displays in case the field value of "Aenderungssicher" is true. Otherwise I'd like to have "NEIN" displayed instead.
Of course I had a look at the user manual hoping I could find an example - but there's no example that could help me out of this.
So - how do I write this function properly within a memo?
Kind regards
Mark
Comments
[IIF(<DBDataset."Aenderungssicher">=True, 'JA', 'NEIN')]
see user manual about [] and <>