📄 rptnew.pas
字号:
unit rptnew;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, QuickRpt, QRCtrls, DB, ADODB;
type
Tfrmrptnew = class(TForm)
QuickRep1: TQuickRep;
QRBand1: TQRBand;
QRLabel1: TQRLabel;
QRSysData1: TQRSysData;
QRShape2: TQRShape;
QRShape3: TQRShape;
QRLabel2: TQRLabel;
QRShape4: TQRShape;
QRShape5: TQRShape;
QRLabel3: TQRLabel;
QRShape6: TQRShape;
QRShape7: TQRShape;
QRLabel4: TQRLabel;
QRShape9: TQRShape;
QRShape8: TQRShape;
QRLabel5: TQRLabel;
QRLabel6: TQRLabel;
QRShape10: TQRShape;
QRShape11: TQRShape;
QRLabel7: TQRLabel;
QRLabel8: TQRLabel;
QRShape1: TQRShape;
adqrpt: TADOQuery;
QRDBText1: TQRDBText;
QRDBText2: TQRDBText;
QRDBText3: TQRDBText;
QRLabel9: TQRLabel;
QRDBText4: TQRDBText;
QRLabel10: TQRLabel;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmrptnew: Tfrmrptnew;
implementation
uses pub, umain, money;
{$R *.dfm}
procedure Tfrmrptnew.FormCreate(Sender: TObject);
begin
//showmessage(inttostr(frmmoney.id));
pub.showrecord(adqrpt,'*','newstu where id='+inttostr(frmmoney.id),'id');
qrlabel10.Caption :='¥'+frmmoney.money+'.00';
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -