如何在Crystal Reports中将数字从SQL表转换为文本 [英] how to convert a Number from SQL Table to Text in Crystal Reports

查看:83
本文介绍了如何在Crystal Reports中将数字从SQL表转换为文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Crystal表中的数字从SQL表转换为文本

I'm trying to convert a Number from SQL Table to Text in Crystal Reports

推荐答案

如果您的查询将数字数据类型返回到水晶中使用的字段报告,您可以使用类似公式在水晶报告结束中执行此操作 -

If your query returns numeric data type to the field used in the crystal report, you can do this in the crystal report end by using formula like-
ToText({YourReportFieldName})



示例:


Example:

ToText({ReportColumn.MyNumberField})





希望,它有助于:)



Hope, it helps :)


这篇关于如何在Crystal Reports中将数字从SQL表转换为文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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