水晶报表字段..... [英] Crystal Report Field .....
本文介绍了水晶报表字段.....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在水晶报表中,我有一个名称为country的档案,其中显示了国家名称.
喜欢.......
印度
美国
澳大利亚
现在我只希望报表中的前三个字符.
喜欢.......
Ind
阿美
Aus
谢谢.
hi there,
in crystal report i have a filed with name country which display countries name.
like.......
India
America
Australia
now i want only first three characters in reports.
like.......
Ind
Ame
Aus
thanks.
推荐答案
将您的国家/地区字段拖放到报告中
通过右键单击该字段来打开属性-> 格式化对象
在下面的该页面上,您会看到显示字符串和按钮 x + 2
单击该按钮,然后将以下公式放在编辑器中
YourCountryField =>从报告字段->中选择它您的contryname字段
例如 {Table.CountryNm}
drag drop your country field on report
open property by right click that field -> Format Object
on that page at below you will see display string and a button x+2
click that button and put below formula in editor
YourCountryField=> select it from Report Fields -> your contryname field
e.g. {Table.CountryNm}
MID(YourCountryField, 1,3)
祝您编码愉快!
:)
Happy Coding!
:)
这篇关于水晶报表字段.....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文