home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 February / Chip_2004-02_cd1.bin / program / delphi / navody / d56 / ec1vr2.exe / #setuppath# / CB6 / 2DTable / dm.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-12-09  |  1.6 KB  |  43 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef dmH
  3. #define dmH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <Db.hpp>
  10. #include <DBTables.hpp>
  11. #include <DB.hpp>
  12. //---------------------------------------------------------------------------
  13. class TDModule : public TDataModule
  14. {
  15. __published:    // IDE-managed Components
  16.         TTable *ViewCustTable;
  17.         TDataSource *ViewCustDSource;
  18.         TDataSource *RepCustDSource;
  19.         TDataSource *ViewMethodsDSource;
  20.         TDataSource *RepMethodsDSource;
  21.         TQuery *ViewMethodsQuery;
  22.         TFloatField *ViewMethodsQueryCustNo;
  23.         TStringField *ViewMethodsQueryPaymentMethod;
  24.         TCurrencyField *ViewMethodsQueryTotalSum;
  25.         TQuery *RepMethodsQuery;
  26.         TQuery *RepCustQuery;
  27.         TQuery *RepSumQuery;
  28.         TDataSource *RepSumDSource;
  29.         TStringField *RepCustQueryCompany;
  30.         TFloatField *RepCustQueryCustNo;
  31.         TStringField *RepMethodsQueryPaymentMethod;
  32.         TFloatField *RepSumQueryCustNo;
  33.         TStringField *RepSumQueryPaymentMethod;
  34.         TCurrencyField *RepSumQueryTotalSum;
  35. private:    // User declarations
  36. public:        // User declarations
  37.         __fastcall TDModule(TComponent* Owner);
  38. };
  39. //---------------------------------------------------------------------------
  40. extern PACKAGE TDModule *DModule;
  41. //---------------------------------------------------------------------------
  42. #endif
  43.