home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 May
/
VPR9705A.ISO
/
VPR_DATA
/
PROGRAM
/
CBTRIAL
/
SETUP
/
DATA.Z
/
DM.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-14
|
2KB
|
87 lines
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#ifndef DMHPP
#define DMHPP
//----------------------------------------------------------------------------
#ifndef DBTablesHPP
#include <DBTables.hpp>
#include <vcl\DB.hpp>
#include <vcl\Classes.hpp>
#endif
#ifndef DBHPP
#include <DB.hpp>
#endif
#ifndef DialogsHPP
#include <Dialogs.hpp>
#endif
#ifndef FormsHPP
#include <Forms.hpp>
#endif
#ifndef ControlsHPP
#include <Controls.hpp>
#endif
#ifndef GraphicsHPP
#include <Graphics.hpp>
#endif
#ifndef ClassesHPP
#include <Classes.hpp>
#endif
#ifndef SysUtilsHPP
#include <SysUtils.hpp>
#endif
#ifndef MessagesHPP
#include <Messages.hpp>
#endif
#ifndef WindowsHPP
#include <Windows.hpp>
#endif
#ifndef SystemHPP
#include <System.hpp>
#endif
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TDM1;
class TDM1 : public TDataModule
{
typedef TDM1 ThisClass;
typedef TDataModule inherited;
__published:
TTable *Customer;
TDataSource *CustomerSource;
TQuery *SQLCustomer;
TQuery *SQLOrders;
TDataSource *OrdersSource;
TFloatField *SQLOrdersOrderNo;
TFloatField *SQLOrdersCustno;
TDateTimeField *SQLOrdersSaleDate;
TDateTimeField *SQLOrdersShipDate;
TIntegerField *SQLOrdersEmpNo;
TCurrencyField *SQLOrdersAmountPaid;
void __fastcall DM1Create(TObject *Sender);
void __fastcall SQLOrdersFilterRecord(TDataSet *DataSet, bool &Accept);
public:
Extended OrdersFilterAmount;
__fastcall virtual TDM1(TComponent *);
};
//-- var, const, procedure ---------------------------------------------------
extern TDM1 *DM1;
//-- end unit ----------------------------------------------------------------
#endif // DM