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 >
C/C++ Source or Header  |  1997-02-14  |  1KB  |  36 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #include <vcl\vcl.h>
  7. #include <vcl\System.hpp>
  8. #pragma hdrstop
  9.  
  10. #include "simprep.h"
  11. #include "CustDM.h"
  12. //---------------------------------------------------------------------------
  13. #pragma resource "*.dfm"
  14. TSimpForm *SimpForm;
  15. //---------------------------------------------------------------------------
  16. __fastcall TSimpForm::TSimpForm(TComponent* Owner)
  17.   : TForm(Owner)
  18. {
  19. }
  20. //---------------------------------------------------------------------------
  21. void __fastcall TSimpForm::QRGroup1NeedData(AnsiString &Value)
  22. {
  23.   Value=DataModule2->CustomersCompany->Value.SubString(1,1);
  24. #ifdef JAPAN
  25.   if (Value.IsLeadByte(1))
  26.     Value=DataModule2->CustomersCompany->Value.SubString(1,2);
  27. #endif
  28. //Value=System::Copy(DataModule2->CustomersCompany->Value,1,1);
  29. }
  30. //---------------------------------------------------------------------
  31. void __fastcall TSimpForm::QRBand2AfterPrint(bool BandPrinted)
  32. {
  33.    SimpRep->NewPage();
  34. }
  35. //---------------------------------------------------------------------
  36.