使用存储过程的Crystal Report [英] Crystal Report using Stored Procedure

查看:77
本文介绍了使用存储过程的Crystal Report的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好...


我想在报表中添加一个现有的存储过程.问题是我将sp参数放入了参数字段中.但是如何像添加表时那样获得字段名称.

在现有报告中,他们使用了ODBC(RDO)..但是我正在使用SQL Server的OLEDB Provider ...两者是否相同?或如何与ODBC(RDO)连接.如果我在ODBC(RDO)窗口中提供了连接字符串,错误消息将显示在连接字符串中找不到DSN ...

Hi all...


I want to add a existing stored procedure in my report.. What''s the problem is i got the sp parameters into parameter field.. but how i get the field name like when we add table..

In existing report they used ODBC(RDO).. but i am using OLEDB Provider for SQL Server... Is the both are same?? or how to connect with ODBC(RDO). if i provide connection string in ODBC(RDO) window the error message says Cannot find DSN in connection string...

推荐答案

只需指定DSN =您的数据库名称"
Just Specify DSN="your Database name" in your connectionString.


您要在存储过程中传递什么查询?
what query are you passing in the stored procedure?


这篇关于使用存储过程的Crystal Report的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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