home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / CUSTDM.H < prev    next >
C/C++ Source or Header  |  1997-02-14  |  3KB  |  87 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef CustDMH
  7. #define CustDMH
  8. //---------------------------------------------------------------------------
  9. #include <vcl\Classes.hpp>
  10. #include <vcl\Controls.hpp>
  11. #include <vcl\StdCtrls.hpp>
  12. #include <vcl\Forms.hpp>
  13. #include <vcl\DBTables.hpp>
  14. #include <vcl\DB.hpp>
  15. //---------------------------------------------------------------------------
  16. class TDataModule2 : public TDataModule
  17. {
  18. __published:    // IDE-managed Components 
  19.     TTable *Customers;
  20.     TFloatField *CustomersCustNo;
  21.     TStringField *CustomersCompany;
  22.     TStringField *CustomersAddr1;
  23.     TStringField *CustomersAddr2;
  24.     TStringField *CustomersCity;
  25.     TStringField *CustomersState;
  26.     TStringField *CustomersZip;
  27.     TStringField *CustomersCountry;
  28.     TStringField *CustomersPhone;
  29.     TStringField *CustomersFAX;
  30.     TFloatField *CustomersTaxRate;
  31.     TStringField *CustomersContact;
  32.     TDateTimeField *CustomersLastInvoiceDate;
  33.     TTable *Orders;
  34.     TFloatField *OrdersOrderNo;
  35.     TFloatField *OrdersCustNo;
  36.     TStringField *OrdersCustCompany;
  37.     TDateTimeField *OrdersSaleDate;
  38.     TDateTimeField *OrdersShipDate;
  39.     TIntegerField *OrdersEmpNo;
  40.     TStringField *OrdersShipToContact;
  41.     TStringField *OrdersShipToAddr1;
  42.     TStringField *OrdersShipToAddr2;
  43.     TStringField *OrdersShipToCity;
  44.     TStringField *OrdersShipToState;
  45.     TStringField *OrdersShipToZip;
  46.     TStringField *OrdersShipToCountry;
  47.     TStringField *OrdersShipToPhone;
  48.     TStringField *OrdersShipVIA;
  49.     TStringField *OrdersPO;
  50.     TStringField *OrdersTerms;
  51.     TStringField *OrdersPaymentMethod;
  52.     TCurrencyField *OrdersItemsTotal;
  53.     TFloatField *OrdersTaxRate;
  54.     TCurrencyField *OrdersFreight;
  55.     TCurrencyField *OrdersAmountPaid;
  56.     TTable *LineItems;
  57.     TFloatField *LineItemsOrderNo;
  58.     TFloatField *LineItemsItemNo;
  59.     TFloatField *LineItemsPartNo;
  60.     TStringField *LineItemsPartName;
  61.     TIntegerField *LineItemsQty;
  62.     TCurrencyField *LineItemsPrice;
  63.     TFloatField *LineItemsDiscount;
  64.     TCurrencyField *LineItemsTotal;
  65.     TCurrencyField *LineItemsExtendedPrice;
  66.     TTable *Parts;
  67.     TFloatField *PartsPartNo;
  68.     TFloatField *PartsVendorNo;
  69.     TStringField *PartsDescription;
  70.     TFloatField *PartsOnHand;
  71.     TFloatField *PartsOnOrder;
  72.     TCurrencyField *PartsCost;
  73.     TCurrencyField *PartsListPrice;
  74.     TDataSource *CustomerSource;
  75.     TDataSource *OrderSource;
  76.     TDataSource *LineItemSource;
  77.     TDataSource *PartSource;
  78.     void __fastcall LineItemsCalcFields(TDataSet *DataSet);
  79. private:        // User declarations
  80. public:         // User declarations
  81.     virtual __fastcall TDataModule2(TComponent* Owner);
  82. };
  83. //---------------------------------------------------------------------------
  84. extern TDataModule2 *DataModule2;
  85. //---------------------------------------------------------------------------
  86. #endif
  87.