显示关键字而不是整数 [英] Display keywords instead of integers
本文介绍了显示关键字而不是整数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的表为我的字段返回1、2或3。如何在报告中将其更改为分别显示活动,非活动和丢失?
My table returns 1, 2, or 3 for my field. How can I change this in my report to display "active", "inactive", and "lost" respectively?
推荐答案
定义例如,名为 @TagName
的公式。它包含以下代码:
Define a formula named @TagName
for example. It contains the following code:
IF {Tag} = 1 Then
"Active"
Else IF {Tag} = 2 Then
"Inactive"
ELSE IF {Tag} = 3 Then
"Lost"
ELSE
""
然后使用 @TagName
字段而不是 Tag
。
这篇关于显示关键字而不是整数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文