在水晶报告中,我得出总数,从中我希望总数以文字显示 [英] in crystal report i arrive the total,from that i want the total to be in words

查看:60
本文介绍了在水晶报告中,我得出总数,从中我希望总数以文字显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在水晶报告中,我得出了总数,从中我希望总数以文字说明该怎么做.

例子
SNO详细信息Amt

1 A 100

2 B 200

3 C 300
总计600

卢比(仅六百卢比)
从上面我希望总价达到600卢比(仅限六百卢比)

in crystal report i arrive the total,from that i want the total to be in words how to do.

example
SNO Particulars Amt

1 A 100

2 B 200

3 C 300
Total 600

Rupees (Six Hundred only)
From the above i want total rs 600 in words (Six Hundred only)
how to do .please send the code.

推荐答案

使用 ToWords 功能,

步骤:
创建 Textobject
右键单击并打开格式化对象窗口
底部有显示字符串 --->按钮

点击该按钮

现在,

在新窗口中调用此功能
Use ToWords Function,

steps:
create Textobject
right click and open, format object window
at bottom, there is Display String ---> button

click that button

now,

in new window call this function
ToWords( {Table.Total})


注意:将所需的字段放在下划线而不是下划线,您可以从报告字段"选项中拖动Towords()函数中的放置字段
祝您编码愉快!
:)


Note : put your desired field instead of underline, u can drag drop field in Towords() function from Report fields option
Happy Coding!
:)


这篇关于在水晶报告中,我得出总数,从中我希望总数以文字显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆