📄 groupinpring.cpp
字号:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "GroupInPring.h"
#include "DataMoudle.h"
#include "Main.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TGroupInPringForm *GroupInPringForm;
//---------------------------------------------------------------------------
__fastcall TGroupInPringForm::TGroupInPringForm(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TGroupInPringForm::FormShow(TObject *Sender)
{
QRLabel5->Caption=MainForm->GroupInRoomNo;
QRLabel11->Caption=MainForm->TheCompany+" 团队入住报表";
QRLabel13->Caption=Now();
AnsiString SQL;
SQL="select a.name ,a.groupname,a.sex ,a.passtype,a.passNumber,b.endtime,b.starttime ,c.cost from custom a,orders b,cost c where c.orderno=b.orderno and a.customid=b.customid and b.orderno="+QuotedStr(MainForm->GroupInOrderNo);
ADOQuery1->Active=false;
ADOQuery1->SQL->Clear();
ADOQuery1->SQL->Add(SQL);
ADOQuery1->Active=true;
// QuickRep1->Preview();
}
//---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -