home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 May
/
VPR9705A.ISO
/
VPR_DATA
/
PROGRAM
/
CBTRIAL
/
SETUP
/
DATA.Z
/
SIMPREP.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-14
|
1KB
|
36 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);
#ifdef JAPAN
if (Value.IsLeadByte(1))
Value=DataModule2->CustomersCompany->Value.SubString(1,2);
#endif
//Value=System::Copy(DataModule2->CustomersCompany->Value,1,1);
}
//---------------------------------------------------------------------
void __fastcall TSimpForm::QRBand2AfterPrint(bool BandPrinted)
{
SimpRep->NewPage();
}
//---------------------------------------------------------------------