?? ba220report.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 + -