在运行时创建Crystal报表! [英] Creating a Crystal report at runtime!

查看:92
本文介绍了在运行时创建Crystal报表!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好开发商!

我需要你的帮助!我需要在运行时创建一个水晶报表,从中获取数据来自SQL Server 2000!

Please i need ur help in this! I need to create a crystal report at runtime, from which data is taken from SQL Server 2000!

我正在使用VS#2003使用C#!那么我如何动态地实例化一个水晶报表对象并设置从数据库查询某个数据所需的参数!

I'm using C# using VS.NET 2003! So how can i instantiate a crystal report object dynamically and set the parameters required to query a certain data from the DB!

另外,在运行时,如何设置设计和水晶报告的布局?

And another thing, at runtime, how can i set up the design and the layout of the crystal report?

请尽快交付项目,非常感谢您的帮助!

Please i need to deliver the project soon, ur help is much appreciated!

谢谢你,ALi Kashani

Thank you, ALi Kashani 

推荐答案

使用捆绑的Crystal版本,您无法在运行时创建报告。您需要之前设计报告,并且在运行时它可以获取数据,或者是推送数据(数据集),并且可以使用参数字段进行过滤。

With the bundled version of Crystal you can not create a report at runtime.  You need to design the report before, and at runtime it can fetch data, or be pushed data (dataset), and can be filtered by using parameter fields. 

如果要在运行时创建报告,则需要升级到具有报告应用程序服务器(RAS)的产品。这仅适用于Enterprise产品或其Crystal Reports Server。如果升级到Crystal Reports Developer XI,它将附带一个小版本的Crystal Reports Server XI。有了这个,您需要能够连接到已安装此软件的机器,以便能够创建任何此报告。

If you want to create a report at runtime you will need to upgrade to a product that has a Report Application Server (RAS).  This only comes with the Enterprise product or their Crystal Reports Server.  If you upgrade to Crystal Reports Developer XI, it comes with a small version of Crystal Reports Server XI.  With this you need to be able to connect to the machine that has this installed to be able to do any of this report creation.

安装RAS服务器后,它有文档如何在运行时创建报告。

With the installation of the RAS server, it has documentation on how to create reports at runtime.


这篇关于在运行时创建Crystal报表!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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