Crystal报告:数字格式错误 [英] Crystal reports : Number format error

查看:84
本文介绍了Crystal报告:数字格式错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从123的数据库中获取值,但在报告中显示123.00

我想避免.00。

我正在使用vs2008和vb.net帮帮我?

I am fetching value from database which is 123 but in report it shows 123.00
I want to avoid .00.
I am using vs2008 with vb.net please help me?

推荐答案

在Crystal Report设计器中,右键单击该字段,选择菜单项Format Field,然后选择Number选项卡。



向下滚动到没有小数组件的数字格式 - 单击并单击确定。



保存报告模板。



请参阅本文 [< a href =http://crystaltricks.com/wordpress/?p=52target =_ blanktitle =New Window> ^ ]了解更多信息。
In the Crystal Report designer, right-click the field, select the menu item "Format Field", and select the Number tab.

Scroll down to the number format that has no decimal component - click that and click "OK".

Save the report template.

See this article[^] for more info.


这篇关于Crystal报告:数字格式错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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