home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
CUSTDM.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
3KB
|
87 lines
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
#ifndef CustDMH
#define CustDMH
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\DBTables.hpp>
#include <vcl\DB.hpp>
//---------------------------------------------------------------------------
class TDataModule2 : public TDataModule
{
__published: // IDE-managed Components
TTable *Customers;
TFloatField *CustomersCustNo;
TStringField *CustomersCompany;
TStringField *CustomersAddr1;
TStringField *CustomersAddr2;
TStringField *CustomersCity;
TStringField *CustomersState;
TStringField *CustomersZip;
TStringField *CustomersCountry;
TStringField *CustomersPhone;
TStringField *CustomersFAX;
TFloatField *CustomersTaxRate;
TStringField *CustomersContact;
TDateTimeField *CustomersLastInvoiceDate;
TTable *Orders;
TFloatField *OrdersOrderNo;
TFloatField *OrdersCustNo;
TStringField *OrdersCustCompany;
TDateTimeField *OrdersSaleDate;
TDateTimeField *OrdersShipDate;
TIntegerField *OrdersEmpNo;
TStringField *OrdersShipToContact;
TStringField *OrdersShipToAddr1;
TStringField *OrdersShipToAddr2;
TStringField *OrdersShipToCity;
TStringField *OrdersShipToState;
TStringField *OrdersShipToZip;
TStringField *OrdersShipToCountry;
TStringField *OrdersShipToPhone;
TStringField *OrdersShipVIA;
TStringField *OrdersPO;
TStringField *OrdersTerms;
TStringField *OrdersPaymentMethod;
TCurrencyField *OrdersItemsTotal;
TFloatField *OrdersTaxRate;
TCurrencyField *OrdersFreight;
TCurrencyField *OrdersAmountPaid;
TTable *LineItems;
TFloatField *LineItemsOrderNo;
TFloatField *LineItemsItemNo;
TFloatField *LineItemsPartNo;
TStringField *LineItemsPartName;
TIntegerField *LineItemsQty;
TCurrencyField *LineItemsPrice;
TFloatField *LineItemsDiscount;
TCurrencyField *LineItemsTotal;
TCurrencyField *LineItemsExtendedPrice;
TTable *Parts;
TFloatField *PartsPartNo;
TFloatField *PartsVendorNo;
TStringField *PartsDescription;
TFloatField *PartsOnHand;
TFloatField *PartsOnOrder;
TCurrencyField *PartsCost;
TCurrencyField *PartsListPrice;
TDataSource *CustomerSource;
TDataSource *OrderSource;
TDataSource *LineItemSource;
TDataSource *PartSource;
void __fastcall LineItemsCalcFields(TDataSet *DataSet);
private: // User declarations
public: // User declarations
virtual __fastcall TDataModule2(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TDataModule2 *DataModule2;
//---------------------------------------------------------------------------
#endif