home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / SIMPREP.CPP < prev    next >
C/C++ Source or Header  |  1997-02-28  |  1KB  |  32 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. //Value=System::Copy(DataModule2->CustomersCompany->Value,1,1);
  25. }
  26. //---------------------------------------------------------------------
  27. void __fastcall TSimpForm::QRBand2AfterPrint(bool BandPrinted)
  28. {
  29.    SimpRep->NewPage();
  30. }
  31. //---------------------------------------------------------------------
  32.