如何把Crystal Reports报表转换为ActiveReports报表

ActiveReports for .NET 6.0新增工具可将Crystal Reports(2005和2008版)转换为ActiveReports格式。转换需安装Visual Studio及对应版本的Crystal Reports。转换后的报表元素包括图表、文本等,但部分特性如阴影和OLE对象无法迁移。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ActiveReports for .NET 6.0的最新更新增加了一个非常实用的工具,可以把Crystal Reports报表(2005和2008版本)转换为ActiveReports报表。ActiveReports的安装程序会在“程序”启动菜单“GrapeCity/ActiveReports 6”下增加两个菜单。

1. 使用"CrystalToAR2005"工具转换Crystal Reports 2005报表。

2. 使用"CrystalToAR2008"工具转换Crystal Reports 2008报表。

为了运行上述转换工具,你需要安装Visual Studio和 Crystal Reports for Visual Studio。Visual Studio版本和对应的Crystal Reports版本如下:

Visual Studio

版本

Crystal Reports

2005

Professional, Team System

Crystal Reports for Visual Studio 2005

2008

Professional, Team System

Crystal Reports for Visual Studio 2008

转换完成后,会生成一个ActiveReports的.rpx 报表文件。

clip_image002

转换的报表元素对应表和相关说明如下:

Crystal Reports

ActiveReports

Note

BoxObject

Shape

The line width property is not imported.
If the box extends to multiple sections, the box is imported as line controls.

ChartObject

ChartControl

The settings and data are not imported.

CrossTabObject

SubReport

Cross tabs are not imported.

LineObject

Line

The size of Dot and Dash (the Line Style property) is not exactly the same.

PictureObject

Picture

Image data is not imported.

SubreportObject

SubReport

You need to set the SubReport in code after the conversion.

TextObject

Label

Only "page number", "total page" and "page n of m" from "Special Fields" are supported.

FieldObject

TextBox

Only "page number", "total page" and "page n of m" from "Special Fields" are supported.

存在的一些转换限制:

· 一些ActiveReports不支持的元素、文字格式等将不会被导入。

· Shadow属性不会被导入。

· OLE对象不会被导入,因为OLE对象在Crystal Reports对象结构中是作为PictureObject处理。

如果需要此工具,请访问葡萄城控件网站http://www.grapecity.cn/powertools下载最新的ActiveReports for .NET试用版本。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值