水晶报表除以零误差 [英] Crystal reports divide by zero error

查看:108
本文介绍了水晶报表除以零误差的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了几个Crystal Reports和一个用于打印或导出报告的c#控制台程序.但是对于我的某些报告,时不时会出现试图除以零"的错误.

我很清楚这个错误,但是我的问题是...我已经仔细检查了相关报告中的所有公式,并且其中没有任何除法计算公式.

其他人以前见过吗?

使用Crystal Reports 2008和Visual C#2010 Express版

在此先感谢
加文

忘了提一下,我认为这可能是在报告没有记录的情况下发生的,只是一个猜测而已.

I have created several Crystal Reports and a c# console program that is used to either print or export the reports. However every now and then for some of my reports I get the error ''attempt to divide by zero''.

I''m well aware of this error but my problem is... I''ve double checked all the formula''s in the reports in question and there isn''t any formula that have a divide calculation in them.

Has anybody else seen this before?

Using Crystal Reports 2008 & Visual C# 2010 Express edition

Thanks in advance
Gavin

Forgot to mention, I think this maybe happening when there are no records for the report, just a guess though.

推荐答案

是否存在一个使用记录计数来显示的公式有什么吗?
如果是这样,那么当您得到零记录时,这可能是一个潜在的地方.
Is there a formula that uses record count to display anything?
If so, that can be potential place to look for in case you get zero records.


这篇关于水晶报表除以零误差的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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