📄 adobatchmove.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Adobatchmove.pas' rev: 10.00
#ifndef AdobatchmoveHPP
#define AdobatchmoveHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp> // Pascal unit
#include <Sysinit.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Sysutils.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Stdctrls.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Db.hpp> // Pascal unit
#include <Adodb.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Adobatchmove
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TADOBatchMode { batAppend, batCopy };
#pragma option pop
#pragma option push -b-
enum TADOSourceMode { dsTable, dsQuery };
#pragma option pop
class DELPHICLASS TADOBatchMove;
class PASCALIMPLEMENTATION TADOBatchMove : public Classes::TComponent
{
typedef Classes::TComponent inherited;
private:
Adodb::TADOQuery* FDESTADOQuery;
Adodb::TADOTable* FDESTADOTable;
Adodb::TADOQuery* FSOURCEADOQuery;
Adodb::TADOTable* FSOURCEADOTable;
Adodb::TADOConnection* FADOConnection;
Classes::TStringList* FStringList;
TADOBatchMode FMode;
TADOSourceMode FSourceMode;
bool __fastcall ADObatchmoveQuerytoTableTest(void);
bool __fastcall ADOTableExistTest(Adodb::TADOTable* ADOTableTest);
bool __fastcall ADOTableCreatefromQuery(Adodb::TADOTable* ADOTablepara);
bool __fastcall ADOTableDatafromQuery(Adodb::TADOTable* ADOTablepara);
void __fastcall SETSOURCEADOQuery(Adodb::TADOQuery* Value);
void __fastcall SETSOURCEADOTable(Adodb::TADOTable* Value);
AnsiString __fastcall datatypetoaccesstypeandsize(Db::TFieldDef* ftdef);
public:
void __fastcall ADObatchmoveQuerytoTable(void);
void __fastcall Execute(void);
__fastcall virtual TADOBatchMove(Classes::TComponent* AOwner);
__fastcall virtual ~TADOBatchMove(void);
__published:
__property TADOSourceMode SourceMode = {read=FSourceMode, write=FSourceMode, nodefault};
__property TADOBatchMode Mode = {read=FMode, write=FMode, nodefault};
__property Adodb::TADOQuery* SourceQuery = {read=FSOURCEADOQuery, write=SETSOURCEADOQuery};
__property Adodb::TADOTable* SourceTable = {read=FSOURCEADOTable, write=SETSOURCEADOTable};
__property Adodb::TADOTable* DestTable = {read=FDESTADOTable, write=FDESTADOTable};
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Adobatchmove */
using namespace Adobatchmove;
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // Adobatchmove
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -