标签: crystal-reports
如何解决“此处需要字符串”的错误
IF {RECEIVED AMOUNT} <= 0 THEN "CANCELLED" ELSE {RECEIVED AMOUNT}
答案 0 :(得分:2)
将{RECEIVED AMOUNT}投射到字符串。尝试使用ToText()函数:
{RECEIVED AMOUNT}
ToText()
IF {RECEIVED AMOUNT} <= 0 THEN "CANCELLED" ELSE ToText({RECEIVED AMOUNT})