标签: crystal-reports
在我的报告中,我有一个代表“州”的字段,以下是示例:
1 = "In progress" 2 = "Withdrawable" 3 = "Requested" 4 = "Paid"
所以,我从db获取一个数字,如果可能的话,我想在预览中将数字更改为相应的状态文本。
答案 0 :(得分:1)
假设您的字段是数字:
["In progress","Withdrawable","Requested","Paid"][{table.field}]