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

📄 unit_reportmonthstatistic.pas

📁 用delphi开发的美容院管理系统
💻 PAS
字号:
unit Unit_ReportMonthStatistic;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, QRCtrls, QuickRpt, ExtCtrls, DB, DBTables;

type
  Tfrm_ReportMonthStatistic = class(TForm)
    QuickRep1: TQuickRep;
    PageHeaderBand1: TQRBand;
    qrlbl_title: TQRLabel;
    QRShape1: TQRShape;
    QRShape2: TQRShape;
    QRLabel2: TQRLabel;
    QRLabel3: TQRLabel;
    QRLabel4: TQRLabel;
    QRLabel5: TQRLabel;
    QRShape3: TQRShape;
    QRShape4: TQRShape;
    QRShape5: TQRShape;
    QRLabel6: TQRLabel;
    DetailBand1: TQRBand;
    QRShape6: TQRShape;
    QRShape7: TQRShape;
    QRShape8: TQRShape;
    QRShape9: TQRShape;
    QRShape10: TQRShape;
    CusNo: TQRDBText;
    CusName: TQRDBText;
    CusSex: TQRDBText;
    CusMobile: TQRDBText;
    CusAddress: TQRDBText;
    PageFooterBand1: TQRBand;
    QRSysData1: TQRSysData;
    QRLabel20: TQRLabel;
    QRLabel21: TQRLabel;
    qry_main: TQuery;
    QRLabel1: TQRLabel;
    QRDBText1: TQRDBText;
    QRLabel7: TQRLabel;
    QRDBText2: TQRDBText;
    QRShape11: TQRShape;
    QRShape12: TQRShape;
    QRLabel8: TQRLabel;
    QRDBText3: TQRDBText;
    QRShape13: TQRShape;
    QRShape14: TQRShape;
    procedure QuickRep1Preview(Sender: TObject);
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
  private
    { Private declarations }
  public
    { Public declarations }
    procedure ref;
  end;

var
  frm_ReportMonthStatistic: Tfrm_ReportMonthStatistic;

implementation

uses preview, Unit_ReportDayStatistic,unit_MonthStatistic;

{$R *.dfm}

procedure Tfrm_ReportMonthStatistic.ref ;
begin
  qry_main.ParamByName('yearmonth').AsString := trim(frm_monthstatistic.edt_monthstatistic.Text) ;
  qry_main.Open ;
end;

procedure Tfrm_ReportMonthStatistic.QuickRep1Preview(Sender: TObject);
begin
  myprevform:=Tmyprevform.Create(self);
  myprevform.QRPreview.QRPrinter := quickrep1.QRPrinter;
  myprevform.show;
end;

procedure Tfrm_ReportMonthStatistic.FormClose(Sender: TObject;
  var Action: TCloseAction);
begin
  qry_main.Close;
  action:=cafree;
  frm_reportDayStatistic:=nil;
end;

end.

⌨️ 快捷键说明

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