📄 shoushirptfrm.pas
字号:
unit ShoushiRptfrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, QuickRpt, QRCtrls;
type
TShoushiRptForm = class(TForm)
QuickRep1: TQuickRep;
DetailBand1: TQRBand;
TitleBand1: TQRBand;
QRLabel30: TQRLabel;
QRDBText2: TQRDBText;
QRLabel1: TQRLabel;
QRShape4: TQRShape;
QRShape3: TQRShape;
QRShape5: TQRShape;
QRShape6: TQRShape;
QRShape7: TQRShape;
QRShape8: TQRShape;
QRShape9: TQRShape;
QRLabel2: TQRLabel;
QRLabel3: TQRLabel;
QRLabel4: TQRLabel;
QRLabel5: TQRLabel;
QRLabel6: TQRLabel;
QRDBText1: TQRDBText;
QRDBText3: TQRDBText;
QRDBText4: TQRDBText;
QRDBText5: TQRDBText;
QRDBText6: TQRDBText;
QRDBText7: TQRDBText;
QRShape1: TQRShape;
QRShape2: TQRShape;
QRShape10: TQRShape;
QRShape11: TQRShape;
QRShape12: TQRShape;
QRShape13: TQRShape;
QRShape14: TQRShape;
QRShape15: TQRShape;
QRShape16: TQRShape;
private
{ Private declarations }
public
{ Public declarations }
end;
var
ShoushiRptForm: TShoushiRptForm;
function ShoushiRpt(ADate:String):Boolean;
implementation
uses Datamodule1;
{$R *.dfm}
function ShoushiRpt(ADate:String):Boolean;
begin
ShoushiRptForm:=TShoushiRptForm.Create(Application);
with DM.qryShoushi do
begin
Close;
SQL.Clear;
SQL.Add('Select * from Shoushilv');
SQL.Add('where S_Date=:vardate');
paramByName('varDate').AsString :=ADate;
Open;
end;
ShoushiRptForm.QuickRep1.Preview;
SHoushiRptForm.Free;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -