将Crystal Reports发布到ColdFusion页面 [英] Publishing Crystal Reports to ColdFusion Pages

查看:325
本文介绍了将Crystal Reports发布到ColdFusion页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用ColdFusion将在Crystal Reports 2008中创建的一些报表发布到网上。我已经阅读,你只需要使用cfreport这样。我已经测试了这很多不同的方式,所有我一直得到的是一个空白页。

I am trying to publish some reports created in Crystal Reports 2008 to the web using ColdFusion. I have read that you just need to use cfreport like this . I have tested this many different ways and all I keep getting is a blank page.

这可以吗?如果不是如何将Crystal Reports发布到Web?我们需要水晶报表服务器吗?

Is it possible to do this? If not how do I publish Crystal Reports to the web? Do we need to have Crystal Reports Server?

任何帮助将是巨大的。

谢谢! >

Thanks!

推荐答案

我已经与cfreport和水晶工作了超过10年,这里是我能提供的,希望有所帮助:

I have worked with cfreport and crystal for over 10 years and here's what I can offer, hope something might help:

可以通过ColdFusion以几种不同的方式打印Crystal Reports。首先,您必须了解ColdFusion Report Builder是为了摆脱与Crystal Reports相关的一些头痛而创建的。

It is possible to print Crystal Reports through ColdFusion a few different ways. First, you have to understand that ColdFusion Report Builder was created to get rid of some of the headaches associated with Crystal Reports.

1)如果您可以降级报表>另存为)水晶7或8或者9版本的rpt文件有可能直接从cfreport工作。

1) If you can downgrade your report (File > Save as) A crystal 7 or 8 or maybe 9 version of an rpt file there is a chance it might work directly from cfreport.

2)如果没有工作,你必须使用水晶网络组件来运行报告到pdf和链接到它。有足够的Java和.NET示例,您可以直接在cf9中使用Java调用,或者在javaloader cfc调用中将其包装。

2) If that doesn't work you'll have to use a crystal web component to run the report to a pdf and link to it. There's enough Java and .NET examples out there and you can use the Java call directly in cf9, or wrap it in a javaloader cfc call.

3)通过调用报表水晶服务器 - 如果您已经有一个基于Web的水晶报表服务器,您可以尝试通过它访问您想要的报表。我建议这条路线先。有一个web查看器内置到水晶服务器,你可以重新使用。

3) Call the report through crystal server - If you already have a web based crystal reports server you can attempt to access the report you want through it. I'd suggest this route first. There's a web viewer built into the crystal server which you may be able to re-purpose. I got it working once but it's been too long.

4)您可以访问水晶报表开发工具,只需通过cfobject调用您需要运行的工具报告(aka打印)到PDF,然后只使用报告。我可能先看下这条路线,因为我最熟悉它,它可能是最少的工作量。

4) You can access the crystal reports developer tools and simply make a call through cfobject for what you need to run the report (aka print) to a PDF and then just use the report. I'd probably look down this route first because I'm most familiar with it and it might be the least amount of work..

希望有所帮助!
J

Hope that helps! J

这篇关于将Crystal Reports发布到ColdFusion页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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