Crystal Reports Formula Workshop boolean condition to string
Posted
by
Jay
on Stack Overflow
See other posts from Stack Overflow
or by Jay
Published on 2010-04-14T21:06:22Z
Indexed on
2012/10/02
15:38 UTC
Read the original article
Hit count: 181
I'm currently trying to create a report using Crystal Reports that comes with Visual Studio 2008.
I would like to include a field of type boolean on my report that shows a string rather than true or false. The string should contain either contain a € or a % sign.
How would I go about doing this in the Formula Workshop?
I've tried things like e.g.
if {tblAankoopDetails.SoortKorting} = true then "€" else "%"
However this never seems to work and results in warnings such as "The formula result must be a number".
This should be fairly simple but this is my first go at using Crystal Reports.
Help would be much appreciated.
Jay
© Stack Overflow or respective owner