home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
SIMPREP.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
1KB
|
32 lines
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
#include <vcl\vcl.h>
#include <vcl\System.hpp>
#pragma hdrstop
#include "simprep.h"
#include "CustDM.h"
//---------------------------------------------------------------------------
#pragma resource "*.dfm"
TSimpForm *SimpForm;
//---------------------------------------------------------------------------
__fastcall TSimpForm::TSimpForm(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TSimpForm::QRGroup1NeedData(AnsiString &Value)
{
Value=DataModule2->CustomersCompany->Value.SubString(1,1);
//Value=System::Copy(DataModule2->CustomersCompany->Value,1,1);
}
//---------------------------------------------------------------------
void __fastcall TSimpForm::QRBand2AfterPrint(bool BandPrinted)
{
SimpRep->NewPage();
}
//---------------------------------------------------------------------