//---------------------------------------------------------------------------

#ifndef udmdbExpressInsertDataH
#define udmdbExpressInsertDataH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Data.DB.hpp>
#include <Data.SqlExpr.hpp>
#include <Data.FMTBcd.hpp>
#include <Data.DBXInterBase.hpp>
#include <Datasnap.DBClient.hpp>
#include <Datasnap.Provider.hpp>
//---------------------------------------------------------------------------
class TDataModule1 : public TDataModule
{
__published:	// IDE-managed Components
	TSQLConnection *SQLConnection1;
	TSQLQuery *SQLQuery1;
	TSQLQuery *qryInsertData;
	TSQLQuery *qryTestData;
	TClientDataSet *cdsData;
	TDataSetProvider *DataSetProvider1;
	void __fastcall DataModuleCreate(TObject *Sender);
private:	// User declarations
	String GetRandomName();
	String GetRandomPhone();
	String GetRandomDateTime(const TDateTime dt);
	String GetRandomDivision();

public:		// User declarations
	__fastcall TDataModule1(TComponent* Owner);
	void InsertDataWithQuery(const int iRecord);
};
//---------------------------------------------------------------------------
extern PACKAGE TDataModule1 *DataModule1;
//---------------------------------------------------------------------------
#endif
