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

📄 prin.pas

📁 集成酒店桑拿食管管理的完整程序
💻 PAS
字号:
unit prin;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  QuickRpt, Qrctrls, ExtCtrls, DBTables, Db;

type
  Txfxmprinform = class(TForm)
    qr1: TQuickRep;
    QRSubDetail3: TQRSubDetail;
    QRDBText27: TQRDBText;
    QRDBText28: TQRDBText;
    QRDBText30: TQRDBText;
    QRDBText34: TQRDBText;
    QRDBText36: TQRDBText;
    QRShape18: TQRShape;
    QRShape20: TQRShape;
    QRShape21: TQRShape;
    QRShape22: TQRShape;
    QRShape23: TQRShape;
    QRDBText10: TQRDBText;
    QRShape39: TQRShape;
    QRDBText1: TQRDBText;
    QRBand1: TQRBand;
    QRLabel1: TQRLabel;
    QRLabel12: TQRLabel;
    QRLabel13: TQRLabel;
    QRLabel14: TQRLabel;
    QRSysData1: TQRSysData;
    QRLabel2: TQRLabel;
    QRLabel3: TQRLabel;
    QRLabel4: TQRLabel;
    QRLabel6: TQRLabel;
    QRLabel7: TQRLabel;
    QRLabel8: TQRLabel;
    QRLabel24: TQRLabel;
    QRLabel9: TQRLabel;
    QRShape8: TQRShape;
    QRShape9: TQRShape;
    QRShape10: TQRShape;
    QRShape14: TQRShape;
    QRShape15: TQRShape;
    QRShape4: TQRShape;
    QRShape5: TQRShape;
    QRShape7: TQRShape;
    QRShape6: TQRShape;
    QRShape1: TQRShape;
    QRShape2: TQRShape;
    QRDBText2: TQRDBText;
    QRDBText3: TQRDBText;
    QRShape3: TQRShape;
    QRShape11: TQRShape;
    QRShape12: TQRShape;
    QRLabel5: TQRLabel;
    QRShape13: TQRShape;
    QRShape16: TQRShape;
    QRLabel10: TQRLabel;
    QRShape17: TQRShape;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  xfxmprinform: Txfxmprinform;

implementation

uses dataproc,xfwh;

{$R *.DFM}

procedure Txfxmprinform.FormCreate(Sender: TObject);
begin
   fm.query1.close;
   fm.query1.sql.clear;
   fm.query1.sql.add('Select UnitName from syssetup');
   fm.query1.open;
   QRLabel1.Caption:=trim(unpassname(fm.query1.Fields[0].asstring))+'消费项目明细表';
   fm.query1.close;
   fm.Query1.UnPrepare;
   fm.query1.RequestLive:=true;
  QRLabel1.Left:=strtoint(floattostr(int((QRBand1.Width-QRLabel1.Width)/2)));
//  QRLabel12.Caption:=xfwhForm.table1.Fields[1].asstring+'/'+xfwhForm.table2.Fields[1].asstring;


  //  QRSubDetail1.Print;
  //QuickRep1.
//  qr1.preview;
  //srrbForm.Query1
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -