Hello Folks,
Please anyone guide me on this?
I am using below code and getting this error: "Cannot mul incompatible operands of type List of Variant and type List of Variant." Basically I am multiplying two values. Any thoughts on this?
a!textField( label: "", labelPosition: "ADJACENT", value:product(index(ri!case, "amount", {}), index( ri!case, "newamount", {} ) / 100), readOnly: true(), ),
Discussion posts and replies are publicly visible
Yes. Index returns values wrapped into a variant. I suggest to either use dot-notation or cast the values into numbers.