Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsConditional expressions are missing
https://www.eclipse.org/forums/index.php/mv/msg/72219/225760/#msg_225760
Is it that conditional statements like 'if', 'else' are not supported to
build data expressions?
A use case is -- if DataSet.columnA = X then the report Data element value
should be DataSet.columnB otherwise the value should be DataSet.columnC.
How can I do this?
Thanks in Advance,
Ravi Chamarthy]]>Ravi2007-03-16T06:18:32-00:00Re: Conditional expressions are missing
https://www.eclipse.org/forums/index.php/mv/msg/72219/228224/#msg_228224
Originally posted by: jasonweathersby.alltel.net
Ravi wrote:
> Using 211.
>
> Is it that conditional statements like 'if', 'else' are not supported to
> build data expressions?
>
> A use case is -- if DataSet.columnA = X then the report Data element
> value should be DataSet.columnB otherwise the value should be
> DataSet.columnC.
>
> How can I do this?
>
> Thanks in Advance,
> Ravi Chamarthy
>
This should work fine.
As a test I entered the following as my expression and it worked fine.