Crystal Report 13变异错误 [英] Crystal Report 13 Varification Error

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

问题描述

 我正在使用CR13和VS2010。我用两个参数制作了一个存储过程。第一个参数Int和第二个参数是Date类型。我在Cystal报告中使用了这个SP。我很惊讶地看到日期类型没有由CR识别并将
转换为String数据类型。其次,您无法删除参数,因此我在SP中注释了参数并尝试更新CR。我收到错误'数据库连接错误:ADO错误代码:0x80040e14源:Microsoft OLE DB提供程序的SQL Server描述过程sp_SupplySheet
没有参数和参数提供。 SQL状态:4200导航错误:8146 [数据库供应商代码8146]


有人可以提供帮助吗?

解决方案

< blockquote>

您好,


您使用的是什么版本的MS SQL Server?如果是2008,则安装客户端工具并使用SQL Native 10客户端。如果CR将其重新键入为字符串,那是因为它找不到有效的字段类型。你如何在
SP中声明数据参数?


此外,当你更改报告数据源时,你必须打开报告并验证数据库。 Cr跟踪RPT文件中的信息,因此您必须使用验证数据库功能更新RPT,以便它与服务器上的信息匹配,然后保存
报告。



Hi, I am using CR13 with VS2010. I have made one Stored Procedure with two parameter. First parameter Int and second was Date type. I have used this SP in Cystal report. I was surprise to see that Date type has not identified by CR and converted to String Datatype. Second you can not delete parameter so I have commented parameters in SP and tried to update CR. I got error 'Database Connection Error: ADO Error Code:0x80040e14 Source: Microsoft OLE DB Provider for SQL Server Decription Procedure sp_SupplySheet has no parameter and arguments were supplied. SQL State:4200 Navtive Error:8146 [Database Vendor Code 8146]

Can anybody help on this?

解决方案

Hello,

What version of MS SQL Server are you using? If it's 2008 then install the Client tools and use the SQL Native 10 client. If CR retyped it as a string it's because it did not find a valid field type. How do you have it declared the data parameter in the SP?

Also, when you change the report data source you MUST open the report up and Verify the database. Cr keeps track of the info in the RPT file so you must update the RPT by using the Verify Database function so it matches the info on the Server and save then the report.

Don


这篇关于Crystal Report 13变异错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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