FastReport写脚本


      int counter = 0;

      private void Data1_BeforePrint(object sender, EventArgs e)

      {

        if (counter >= 5)

        {

          Engine.StartNewPage();

          counter = 0;

        }

        counter++;

      }

    int pageRowCount=5;
    private void Page1_StartPage(object sender, EventArgs e)
    {
      int rowcount=      Report.GetDataSource("单据明细").RowCount;
      int count=pageRowCount- rowcount % pageRowCount;
      Child1.CompleteToNRows= rowcount+ count;
    }
   
    [IIf(Year([质控检查结果.检查日期]) < 1900,"", FormatDateTime([质控检查结果.检查日期], "yyyy.MM.dd"))]

全网第一家 FastReport. v4.7.147 最新版 CURRENT VERSION Build: 4.7.147 Date: 06/11/09 http://fast-report.com/en/products/report-for-delphi-fastreport-4-feature-matrix.html FASTREPORT® 4.0 VCL FastReport 4.0 has four editions with different features and price. Basic Edition FastReport 4 Basic Edition meets the needs of developers who are creating applications with "direct logic" reports. If you’re not sure you can make use of the full range of the features in FastReport 4, then the Basic Edition may be your best option. It’s easy to learn, and makes it impossible for your users to damage the reports you’ve developed. Standard Edition If you need more than the Basic Edition, then this is for you. The Standard Edition includes: A dialog designer. An internal script engine, which allows you to handle the reports’ logic; it supports four languages (PascalScript, C++Script, JSCript, and BasicScript). An end-user report designer. Professional Edition In addition to all the features of our FastReport 4 Standard Edition, the Professional Edition also includes: A built-in SQL query builder, which allows you to create complex queries without having a good command of SQL. Full source codes in the report generator, which allows you to thoroughly understand the work logic and to make any necessary changes and minor adjustments. Enterprise Edition This edition goes beyond the standards of today’s reporting software. Distance no longer matters! In addition to all the advantages of FastReport 4 Professional Edition, this edition includes Web-reporting components. Basic Standard Professional Enterprise Dialogue forms x x x Script x x x Run-time designer x x x Sources x x Visual SQL designer x x Web-reporting x 中文修正企业版高强压缩 全部源码中文修正企业版下载后可直接安装使用,默认为 简体中文语言 用于delphi开发者的报表工具 FastReport 是非常强大的报表控件,它能使用户的应用程序快速有效地产生报表。FastReport 提供了创建报表所需的所有工具,包括报表引擎,报表设计工具,预览器,对话框设计工具,以及Pascal-like 宏解释程序。 特点: 无需附加的动态链接库(DLL)就可提供快速、紧致、灵活的代码。 运行时可使用内建的功能强大且易于使用的设计工具。 带有"文本搜索"和"编辑"功能的MSWord-like报表预览。 常用的组件集:文本,线,图片,形状,对象链接和嵌入(OLE), RichText, 图表,Barcode。 可以创建自己的组件。 将报表输出为其它格式(例如:TXT, RTF, CSV, HTML, PDF 等等)。 内建的Pascal-like宏语言使得用户无需在Delphi环境中就可以出代码。它可以创建出使用其它工具所不能创建的报表。 FastReport包含了对话框表格。在准备创建报表前,用户可以使用这一表格来修改参数,而且可以不受限制地使用它。FastReport使用同一个设计工具来创建对话框,这一设计工具带有对话框控件的标准集:按钮,编辑框,复选框等等。 FastReport提供了多样的数据库引擎,它允许用户在运行时创建表格,查询程序及数据库组件。用户的报表和应用程序是完全独立的。 FastReport可以从各种数据源的表格、查询程序、数组及数据文件中导入数据。 FastReport并不依赖于Borland公司的数据库引擎(BDE)。只要是基于标准Tdataset组件的数据库,都能使用FastReportFastReport也可在IB_Objects下工作。IB_Objects是用于Interbase数据库管理系统(DBMS)的功能强大且使用广泛的库。 在FastReport中可使用22语言,这就使得用户的应用程序更易于国际化。 本版本支持以下 IDE: Delphi 4,5,6,7,2005 C++Builder 4,5,6 BDS 2006 (Delphi 2006, C++Builder 2006) RAD Studio 2007 (Delphi 2007, C++Builder 2007) RAD Studio 2009 (Delphi 2009, C++Builder 2009) 中文修正企业版高强压缩 全部源码中文修正企业版下载后可直接安装使用,默认为 简体中文语言
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值