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

📄 shoushirptfrm.pas

📁 结合读卡器使用。程序中有按迟到时间长短自动开罚单功能
💻 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 + -