Adding "&&" notation in binding expression.
Could someone please let me know how use && in the Default binding in Desinger?
say there is an expression like;
$.A.B.[Required == "Required"] && A.B.[Show== "true"]
Where Required and Show are children of element B.
Desinger says there is a syntax error near &&, but not sure how to do combine both the conditions
in one expression.
Any lead would be much appreciated.
Thanks
Ds
Views
Replies
Total Likes
How did you get that expression in there in the 1st place? Did you type it in?
Paul
Views
Replies
Total Likes
Yes I typed the expression the Default binding box. Initially I had only one condition and it worked fine. But for my other report I have to include another condition which is in the same level as the previous one. So all I have to use is the AND. But for I am not sure of the correct syntax.
Ds
Views
Replies
Total Likes
I don't believe that you can have a compound statement like that in the expression for binding.
Paul
Views
Replies
Total Likes
I was able to solve this by giving the binding expression as
$.A.B.[(Required == "Required") and (Show== "true")]
Thanks
Ds
Views
Replies
Total Likes
I am not sure about, but I was able to fix this by giving the expression
As; $.A.B.[(Required == "Required") and (Show== "true")]
In the default binding box.
And it works.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies