ActiveReport 3:为CrossTable添加动态列

发布于 2024-10-07 08:25:27 字数 232 浏览 0 评论 0原文

我在 ActiveReport 3 下,需要创建具有动态数量的列和行的 CrossTable。

ActiveReport 3 给出的示例已将修复列放入设计视图中,这很糟糕。
有一个解决方案可以在 Active Report 3 下创建真正的交叉表吗?

现在我尝试处理这些事件:

_ReportStart
_DataInitialize
_FetchData

I am under ActiveReport 3 and I need to create CrossTable with dynamic number of Columns and Rows.

The example given with ActiveReport 3 has put fix columns in design view and it's bad.
There is a solution up there to create real cross table under Active Report 3?

For now I try with these events:

_ReportStart
_DataInitialize
_FetchData

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

江城子 2024-10-14 08:25:27

在 ActiveReports 中,您需要使用基于数据源的代码动态添加列(字段/文本框)。您可以查看此演练,了解如何动态地创建报告。本演练不会创建交叉表,但它展示了如何动态添加字段。要创建交叉表,您只需将文本框并排且一个接一个地添加到报表中即可。交叉表中所需的每一列都有一个。

注意:GrapeCity 收购 Data Dynamics 后,Data Dynamics Reports 产品随后被集成到 ActiveReports 中。数据动态报表的功能在ActiveReports中通常被称为“页面报表”或“RDL报表”。因此,ActiveReports 现在包含对带有“矩阵”控件的交叉表报表的本机支持。在 ActiveReports 的页面报告中使用矩阵的示例位于此处.


旧版 ActiveReports 的文档可在 旧版文档页面 上找到,该页面可从主要 ActiveReports 文档站点

In ActiveReports you need to dynamically add the columns (fields/textboxes) using code based on your datasource. You can see this walkthrough for a detailed example of how to dynamically create a report. The walkthrough does not create a crosstab but it does show how to add fields dynamically. To create a crosstab, you will essentially just add your textboxes onto the report side-by-side and one-after-the-other. One for each column you want in your crosstab.

NOTE: After GrapeCity's acquisition of Data Dynamics, the Data Dynamics Reports product was later integrated into ActiveReports. The capabilities of Data Dynamics Reports are generally referred to as "Page Report" or "RDL Report" in ActiveReports. As a result ActiveReports now includes native support for cross tab reports with the "Matrix" control. An example of using a Matrix in ActiveReports' Page Reports is here.

Documentation for the older versions of ActiveReports are available on the Legacy Documentation page, which is linked from the main ActiveReports documentation site.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文