📄 ap210report.pas
字号:
unit AP210Report;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, BaseReport, QuickRpt, DB, DBTables, QRCtrls, ExtCtrls;
type
TqrAP210 = class(TQuickReport)
bdGroupHeader: TQRGroup;
QRLabel6: TQRLabel;
QRLabel7: TQRLabel;
QRLabel8: TQRLabel;
QRLabel9: TQRLabel;
QRLabel10: TQRLabel;
QRLabel11: TQRLabel;
QRLabel12: TQRLabel;
QRLabel13: TQRLabel;
QRLabel14: TQRLabel;
QRLabel15: TQRLabel;
QRLabel16: TQRLabel;
QRDBText1: TQRDBText;
QRDBText2: TQRDBText;
QRDBText3: TQRDBText;
QRDBText4: TQRDBText;
QRDBText5: TQRDBText;
QRDBText6: TQRDBText;
QRDBText7: TQRDBText;
QRDBText8: TQRDBText;
QRDBText9: TQRDBText;
QRDBText10: TQRDBText;
QRDBText11: TQRDBText;
QRDBText12: TQRDBText;
QRLabel17: TQRLabel;
bdGroupFooter: TQRBand;
dsReport: TDataSource;
Query1: TQuery;
qyReportDiscount: TBCDField;
qyReportRemittance: TBCDField;
qyReportOthers: TBCDField;
qyReportTotalBalance: TBCDField;
qyReportCompanyID: TStringField;
QRDBText13: TQRDBText;
QRDBText14: TQRDBText;
QRDBText15: TQRDBText;
QRDBText16: TQRDBText;
QRDBText17: TQRDBText;
QRDBText18: TQRDBText;
QRDBText19: TQRDBText;
QRDBText20: TQRDBText;
QRBand1: TQRBand;
QRLabel18: TQRLabel;
QRExpr1: TQRExpr;
QRExpr2: TQRExpr;
QRExpr3: TQRExpr;
QRExpr4: TQRExpr;
QRExpr5: TQRExpr;
QRExpr6: TQRExpr;
QRExpr7: TQRExpr;
QRExpr8: TQRExpr;
QRLabel19: TQRLabel;
qyReportSupplierAttribName: TStringField;
qyReportSupplierID: TStringField;
qyReportPaymentID: TStringField;
qyReportPayDate: TStringField;
qyReportPayCash: TBCDField;
qyReportPayCheck: TBCDField;
qyReportPrepaid: TBCDField;
qyReportPayAmount: TBCDField;
Query1PayCash: TBCDField;
Query1PayCheck: TBCDField;
Query1Discount: TBCDField;
Query1Remittance: TBCDField;
Query1Prepaid: TBCDField;
Query1Others: TBCDField;
Query1PayAmount: TBCDField;
Query1TotalBalance: TBCDField;
procedure qyReportBeforeOpen(DataSet: TDataSet);
private
{ Private declarations }
public
{ Public declarations }
end;
var
qrAP210: TqrAP210;
implementation
uses DataModule, Main;
{$R *.dfm}
procedure TqrAP210.qyReportBeforeOpen(DataSet: TDataSet);
begin
inherited;
with qyReport do
begin
ParamByName('CompanyID').AsString := sCompanyID;
ParamByName('BeginPayDate').AsString := DM.tbInput.FieldByName('BeginDate').AsString;
ParamByName('EndPayDate').AsString := DM.tbInput.FieldByName('EndDate').AsString;
ParamByName('BeginSupplierID').AsString := DM.tbInput.FieldByName('BeginSupplierID').AsString;
ParamByName('EndSupplierID').AsString := DM.tbInput.FieldByName('EndSupplierID').AsString;
end;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -