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

📄 ba220report.pas

📁 一套融入了系统营销管理思想的管理软件产品
💻 PAS
字号:
unit BA220Report;

interface

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

type
  TqrBA220 = class(TQuickReport)
    QRLabel7: TQRLabel;
    QRLabel6: TQRLabel;
    QRDBText1: TQRDBText;
    QRDBText2: TQRDBText;
    qyReportCustomerTypeID: TStringField;
    qyReportCustomerTypeName: TStringField;
    procedure qyReportBeforeOpen(DataSet: TDataSet);
  private
    { Private declarations }
  public
    { Public declarations }

  end;

var
  qrBA220: TqrBA220;

implementation

uses DataModule, Main;

{$R *.dfm}

{ TqrBA220 }

procedure TqrBA220.qyReportBeforeOpen(DataSet: TDataSet);
begin
  inherited;
  with qyReport do
  begin
    ParamByName('CompanyID').AsString := sCompanyID;
    ParamByName('BeginCustomerTypeID').AsString :=
                DM.tbInput.FieldByName('BeginCustomerTypeID').AsString;
    ParamByName('EndCustomerTypeID').AsString :=
                DM.tbInput.FieldByName('EndCustomerTypeID').AsString;
  end;
end;

end.

⌨️ 快捷键说明

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