?? ba280report.pas
字號:
unit BA280Report;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, BaseReport, DB, DBTables, QRCtrls, QuickRpt, ExtCtrls;
type
TqrBA280 = class(TQuickReport)
qyReportCustomerID: TStringField;
qyReportCustomerAttribName: TStringField;
qyReportCustomerName: TStringField;
qyReportInvoiceNo: TStringField;
qyReportOwner: TStringField;
qyReportFax: TStringField;
qyReportContactPhone2: TStringField;
qyReportContactPhone1: TStringField;
QRLabel6: TQRLabel;
QRLabel7: TQRLabel;
QRLabel8: TQRLabel;
QRLabel9: TQRLabel;
QRLabel10: TQRLabel;
QRLabel11: TQRLabel;
QRLabel12: TQRLabel;
QRDBText1: TQRDBText;
QRDBText2: TQRDBText;
QRDBText3: TQRDBText;
QRDBText4: TQRDBText;
QRDBText5: TQRDBText;
QRDBText6: TQRDBText;
QRDBText7: TQRDBText;
QRDBText8: TQRDBText;
procedure qyReportBeforeOpen(DataSet: TDataSet);
private
{ Private declarations }
public
{ Public declarations }
end;
var
qrBA280: TqrBA280;
implementation
uses DataModule, Main;
{$R *.dfm}
procedure TqrBA280.qyReportBeforeOpen(DataSet: TDataSet);
begin
inherited;
with qyReport do
begin
ParamByName('CompanyID').AsString := sCompanyID;
ParamByName('BeginCustomerID').AsString :=
DM.tbInput.FieldByName('BeginCustomerID').AsString;
ParamByName('EndCustomerID').AsString :=
DM.tbInput.FieldByName('EndCustomerID').AsString;
end;
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -