自由格式报告工具
我正在寻找免费格式报告工具。
免费/开源是首选。
它应该在没有数据源的情况下工作,并且应该能够在页面上的任何位置进行打印。
我需要这个,因为我使用的是一个古老但非常快的半 RDBMS,它不支持迄今为止我看到的所有报告引擎所要求的数据集、数据源等概念。
它只是 2 个 DLL,带有一些针对各种语言的声明模块。
事实上,过去 6 年我一直在使用 ComponentOne 的 VS View,并且对此感到非常满意。 即使在 Delphi 中,当需要打印时,我通常也会使用这个组件。
但对于这个特定的项目,我的老板不允许我使用任何 ActiveX,所以我正在寻找一个好的 & VCL 中的稳定免费软件解决方案。
I am looking for free form reporting tool.
Free/open source is preferred.
It should work without a data source and one should be able to print at any place on a page.
I need this because I am using an age old but very fast semi RDBMS which does not support concept of Data Set, Data Source, etc. that as required by all reporting engine I saw till date.
It comes as just 2 DLL with a few declaration modules for various languages.
Actually I have been using ComponentOne's VS View for last 6 years and am ver confortable with this. I generally use this component when ever printing is required even in Delphi.
But for this particualr project my Boss will not allow me to use any ActiveX so I am looking for a good & stable freeware solution in VCL.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我会查看快速报告。 是的,它确实支持数据集,但还有一种“构建您自己的”方法,通过在表单上放置一个组件并分配写入 3 个事件(获取字段值、下一条记录位于文件末尾)。 我已经多次使用这种方法通过快速报告来针对“非”数据感知数据,没有任何问题。 我相信他们有一个开源的旧版本,但最新版本的成本是合理的他们确实有一个可供您尝试的试用版。
I would look at Fast Reports. Yes, it does have support for datasets, but there is also a "build your own" method by dropping a component on the form and assigning writing 3 events (get field value, next record, is at end of file). I have used this approach many numerous times with Fast Reports against "non" data-aware data without any problems. I believe they have an older version which is open sourced, but the cost of the latest version is reasonable and they do have a trial you can play around with.
我们使用类似的数据库,最近开始使用 List & 标签。 它有其粗糙的边缘,但通常效果很好。 它的核心是一堆 DLL,但不需要注册。
We use a similar DB and recently started using List & Label. It has its rough edges but generally works quite well. Its core comes as a bunch of DLLs but there is no registration required.
尝试报告管理器
http://reportman.sourceforge.net/
Try report manager
http://reportman.sourceforge.net/
根据您在自由格式报告工具中寻找的内容,我已成功使用 WP添加工具Reporter来生成报告。 我从各个位置提供数据(当然也可以做数据库),您可以确定是否输出部分等。
Depending on what you are looking for in a free form reporting tool, I have successfully used the WP Tools Reporter add in to generate reports. I fed the data from various locations (it can of course do databases as well), and you can determine whether sections are output or not, etc.
另一种选择是使用您自己的 TDataset 或 OLEDB 驱动程序。 显然OLEDB驱动程序更通用,可以在Delphi之外使用。 实际上,两者在简单的层面上都相当容易做到(尽管如果需要的话可以变得更加复杂)。
编写自己的 OLEDB 驱动程序的起点是 techvanguards optk 站点。 这是一个可供下载的免费源代码套件。 虽然自 D5 以来没有更新,但我使用 Delphi 2006 编写了一个简单的提供程序,并且通过一些黑客操作,您应该能够让它在 Delphi 2009 上工作。
我找不到用于创建您自己的自定义 TDataset 的教程的在线参考,但我曾经按照“使用 Delphi 3 - 特别版”中的说明进行操作,因此如果您可以在网上找到该副本,其中有一章是关于创建自定义 TDatasets 的。 (编辑:根据评论,这里有一个很好的 链接
首先尝试 OLEDB 驱动程序路线然后你可以使用标准的delphi TDataset。
Another alternative is to role your own TDataset or OLEDB driver. Obviously the OLEDB driver is more general and can be used outside Delphi. Both are actually reasonably easy to do on a simple level (although can become much more complicated if desired).
Starting point for writing your own OLEDB driver is the techvanguards optk site.. This is a free source code kit available for download. Although not updated since D5, I wrote a simple provider using Delphi 2006 and with a bit of hacking you should be able to get it working for Delphi 2009.
I cant find an online reference to a tutorial for creating your own custom TDataset, but I once did it following instructions in "Using Delphi 3 - Special Edition" so if you can find a copy of that on the web it has a chapter on creating custom TDatasets. (Edit: As per a comment, here is a good link
Try the OLEDB driver route first though and then you can use the standard delphi TDataset.