2024 Sep 02 2:03 PM - edited 2024 Sep 02 2:08 PM
Hi all,
I am using Crystal Reports 2011. I would like to summarize a formula field. The summary's output could be a number normally, but a string as output if certain conditions occur.
e.g.
If Sum({InvalidNumberCheck}) = -99999 Then
"error"
Else
ToText(Sum({InvalidNumberCheck}))
where "InvalidNumberCheck" is a formula field correctly defined (also added to the report). When attempting to save the formula I am prompted with the popup "The field name is not known"
Thanks and regards
Request clarification before answering.
Given that InvalidNumberCheck is a formula, you should refer to it as {@InvalidNumberCheck} rather than {InvalidNumberCheck}
Better yet, use the formula editor to navigate and insert it into the formula expression, instead of trying to type it yourself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
22 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.