⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fee_line_new_r.pas

📁 县级供电企业电费核算源码, 在客户处正常运行8年以上, Delphi 5开发,数据库为Interbase/Firebird, 深入使用Procedure和Trigger等, 对入门者具有很好的参考价值
💻 PAS
字号:
unit Fee_Line_New_R;

interface

uses Windows, SysUtils, Messages, Classes, Graphics, Controls,
  StdCtrls, ExtCtrls, Forms, Quickrpt, QRCtrls;

type
  TR_Fee_Line_New = class(TQuickRep)
    ColumnHeaderBand1: TQRBand;
    SummaryBand1: TQRBand;
    DetailBand1: TQRBand;
    QRLabel2: TQRLabel;
    QRDBText1: TQRDBText;
    QRDBText2: TQRDBText;
    QRDBText7: TQRDBText;
    QRDBText8: TQRDBText;
    QRDBText11: TQRDBText;
    QRDBText12: TQRDBText;
    QRDBText15: TQRDBText;
    QRDBText16: TQRDBText;
    QRDBText23: TQRDBText;
    QRDBText24: TQRDBText;
    QRDBText26: TQRDBText;
    QRLabel4: TQRLabel;
    QRLabel5: TQRLabel;
    QRLabel6: TQRLabel;
    QRShape1: TQRShape;
    QRShape8: TQRShape;
    QRShape9: TQRShape;
    QRShape10: TQRShape;
    QRLabel9: TQRLabel;
    QRLabel10: TQRLabel;
    QRLabel11: TQRLabel;
    QRLabel14: TQRLabel;
    QRLabel15: TQRLabel;
    QRShape18: TQRShape;
    QRLabel18: TQRLabel;
    QRShape20: TQRShape;
    QRLabel19: TQRLabel;
    QRLabel20: TQRLabel;
    QRLabel21: TQRLabel;
    QRShape33: TQRShape;
    QRLabel29: TQRLabel;
    QRLabel31: TQRLabel;
    QRLabel32: TQRLabel;
    QRLabel33: TQRLabel;
    QRShape35: TQRShape;
    QRShape36: TQRShape;
    QRShape39: TQRShape;
    QRShape40: TQRShape;
    QRShape42: TQRShape;
    QRShape44: TQRShape;
    QRShape46: TQRShape;
    QRShape50: TQRShape;
    QRShape54: TQRShape;
    QRShape55: TQRShape;
    QRShape57: TQRShape;
    PageHeaderBand1: TQRBand;
    QRL_Title: TQRLabel;
    QRShape2: TQRShape;
    QRShape3: TQRShape;
    QRShape11: TQRShape;
    QRShape12: TQRShape;
    QRShape15: TQRShape;
    QRShape16: TQRShape;
    QRShape21: TQRShape;
    QRShape22: TQRShape;
    QRShape27: TQRShape;
    QRShape29: TQRShape;
    QRShape31: TQRShape;
    PageFooterBand1: TQRBand;
    QRLabel37: TQRLabel;
    QRLabel38: TQRLabel;
    QRL_Auditing: TQRLabel;
    QRLabel1: TQRLabel;
    QRSysData1: TQRSysData;
    QRLabel25: TQRLabel;
    QRLabel26: TQRLabel;
    QRLabel36: TQRLabel;
    QRSysData2: TQRSysData;
    QRL_Use: TQRLabel;
    QRL_Month: TQRLabel;
    QRLabel39: TQRLabel;
    QRLabel40: TQRLabel;
    QRLabel41: TQRLabel;
    QRExpr1: TQRExpr;
    QRLabel42: TQRLabel;
    QRLabel43: TQRLabel;
    QRExpr2: TQRExpr;
    QRLabel44: TQRLabel;
    QRShape32: TQRShape;
    QRLabel49: TQRLabel;
    QRSysData4: TQRSysData;
    QRLabel50: TQRLabel;
    QRDBMoney: TQRDBText;
    QRDBCount: TQRDBText;
    QRShape34: TQRShape;
    QRLabel35: TQRLabel;
    QRExpr24: TQRExpr;
    QRShape48: TQRShape;
    QRShape59: TQRShape;
    QRExpr22: TQRExpr;
    QRExpr21: TQRExpr;
    QRShape60: TQRShape;
    QRExpr18: TQRExpr;
    QRShape65: TQRShape;
    QRShape66: TQRShape;
    QRExpr17: TQRExpr;
    QRShape69: TQRShape;
    QRExpr14: TQRExpr;
    QRShape70: TQRShape;
    QRExpr13: TQRExpr;
    QRShape73: TQRShape;
    QRExpr10: TQRExpr;
    QRShape74: TQRShape;
    QRExpr9: TQRExpr;
    QRShape77: TQRShape;
    QRExpr6: TQRExpr;
    QRExpr5: TQRExpr;
    QRShape78: TQRShape;
    QRLabel51: TQRLabel;
    QRShape79: TQRShape;
    QRLabel34: TQRLabel;
    QRLabel52: TQRLabel;
    QRShape80: TQRShape;
    QRShape81: TQRShape;
    QRDBText6: TQRDBText;
    QRExpr26: TQRExpr;
    QRShape82: TQRShape;
    QRExpr27: TQRExpr;
    QRShape25: TQRShape;
    QRLabel24: TQRLabel;
    QRShape26: TQRShape;
    QRDBText5: TQRDBText;
    QRShape28: TQRShape;
    QRExpr25: TQRExpr;
    QRDBText19: TQRDBText;
    QRExpr28: TQRExpr;
    QRLabel3: TQRLabel;
    QRExpr30: TQRExpr;
    QRShape6: TQRShape;
    QRShape14: TQRShape;
    QRShape19: TQRShape;
    QRLabel8: TQRLabel;
    QRLabel13: TQRLabel;
    QRLabel16: TQRLabel;
    QRShape24: TQRShape;
    QRShape45: TQRShape;
    QRDBText3: TQRDBText;
    QRDBText10: TQRDBText;
    QRShape47: TQRShape;
    QRExpr12: TQRExpr;
    QRShape53: TQRShape;
    QRExpr16: TQRExpr;
    QRShape17: TQRShape;
    QRShape13: TQRShape;
    QRDBText4: TQRDBText;
    QRDBText9: TQRDBText;
    QRExpr3: TQRExpr;
    QRShape23: TQRShape;
    QRExpr4: TQRExpr;
    QRShape37: TQRShape;
    QRShape7: TQRShape;
    QRLabel17: TQRLabel;
    QRLabel7: TQRLabel;
    QRShape4: TQRShape;
    QRShape5: TQRShape;
    QRLabel12: TQRLabel;
    procedure PageFooterBand1BeforePrint(Sender: TQRCustomBand;
      var PrintBand: Boolean);
    procedure PageHeaderBand1BeforePrint(Sender: TQRCustomBand;
      var PrintBand: Boolean);
    procedure QRDBCountPrint(sender: TObject; var Value: String);
    procedure QRDBMoneyPrint(sender: TObject; var Value: String);
    procedure R_Fee_LineAfterPrint(Sender: TObject);
  private

  public

  end;

var
  R_Fee_Line_New: TR_Fee_Line_New;

implementation

uses Table_DM, CommSmdljf, Comm;

{$R *.DFM}
































procedure TR_Fee_Line_New.PageFooterBand1BeforePrint(
  Sender: TQRCustomBand; var PrintBand: Boolean);
begin
	QRL_Use.Caption := Default_Use;
    QRL_Auditing.Caption := Default_Auditing;
end;


procedure TR_Fee_Line_New.PageHeaderBand1BeforePrint(
  Sender: TQRCustomBand; var PrintBand: Boolean);
begin
    QRL_Month.Caption := CurrentYear+' 年 ' + CurrentMonth + ' 月份';
    QRL_Title.Caption := CorpName + StationName
                        + '应收电费分类统计对帐表';
end;












procedure TR_Fee_Line_New.QRDBCountPrint(sender: TObject;
  var Value: String);
begin
	Value := F_StrToStrF(Value,0,2);
end;










procedure TR_Fee_Line_New.QRDBMoneyPrint(sender: TObject; var Value: String);
begin
	Value := F_StrToStrF(Value,10,2);
end;

procedure TR_Fee_Line_New.R_Fee_LineAfterPrint(Sender: TObject);
begin
    P_Log('打印: 农电四-3表(分线路统计表)');
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -