我在Crystal Report中有一个COM异常 [英] I have a COM Exception in Crystal Report
本文介绍了我在Crystal Report中有一个COM异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对水晶报表有问题.仅对于特定的报告,会出现此问题.不全是.那是奇怪的事情.我已经传递了String类型参数@PatientName,它与所有其他报表都可以正常工作,但是每当我尝试将其用于特定的一个报表时,就可以正常使用.它引发一个称为"COM Exception"的异常.
它说:
Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
我不知道为什么.您可以帮我吗?
解决方案
再次检查您是否在Crystal报表中使用了正确的参数名称@PatientName,并且没有键入错误.
I Have a problem with crystal report. This problem occurs only for specific report. Not for all. That is the strange thing. I have passed the String type parameter @PatientName, it works fine with all other reports but whenever I try to put it for the specific one report. It throws an exception called "COM Exception".
it says:
Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
i dont know why. Can you help me out?
解决方案
Double check if you are using the correct parameter name @PatientName in the Crystal report and did not make a typing error.
这篇关于我在Crystal Report中有一个COM异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文