Crystal报告未显示小数 [英] Crystal reports not showing decimals

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

问题描述

您好

我正在使用VB.NET 2003和SQL Server 2000。

Im using VB.NET 2003 and SQL Server 2000.

我正在改变我的"NoOfPallets"列数据库从int到float。我运行一个sql视图来分组在同一天收集的所有行。

Im currently changing a column 'NoOfPallets' in my database from int to float.  I run an sql view to group all the rows that were collected on the same day. 

例如。日期:2007年1月24日,NoOfPallets:3.5

e.g.  Date:  24/01/2007, NoOfPallets:  3.5

当我使用水晶报告运行此报告时,NoOfPallets不会显示任何小数。我已从报告中删除该字段并验证了数据库,然后再次添加该字段。当我在设计时将鼠标悬停在它上面时,该字段显示为(数字)。

When I run this report using crystal reports the NoOfPallets doesnt show any decimals.  I have removed the field from the report and verified the database and then added the field again. The field shows as (Number) when I hover the mouse over it at design time.

我还右键单击了该字段并选择了"格式"并尝试了各种选项。

I have also right clicked the field and selected 'format' and tried various options in here.

有人知道为什么它不会显示任何小数吗?

Anybody know why it doesnt show me any decimals?

谢谢

Darren

推荐答案

再次尝试重新加载数据库...删除它然后重新添加
try reloading your database again...remove it then add it again


这篇关于Crystal报告未显示小数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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