-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathUnit1.h
More file actions
96 lines (94 loc) · 3.11 KB
/
Unit1.h
File metadata and controls
96 lines (94 loc) · 3.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "dbcClasses.hpp"
#include "dbcIBSQLExec.hpp"
#include "dbcSQL_Exec.hpp"
#include "dbcTableDataComparer.hpp"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TGroupBox *GroupBox1;
TEdit *fnDatabaseMaster;
TEdit *fnDatabaseTarget;
TLabel *Label1;
TLabel *Label2;
TSpeedButton *BtnSelDatabaseMaster;
TSpeedButton *BtnSelDatabaseTarget;
TEdit *EditMUser;
TEdit *EditMPswd;
TLabel *LabelMUser;
TLabel *LabelMPswd;
TLabel *LabelTUser;
TEdit *EditTUser;
TLabel *LabelTPswd;
TEdit *EditTPswd;
TGroupBox *GroupBox2;
TRichEdit *MemoExtr;
TSplitter *Splitter1;
TGroupBox *GroupBox3;
TMemo *MemoResult;
TProgressBar *Gauge1;
TProgressBar *Gauge2;
TLabel *Label4;
TEdit *EditTableM;
TLabel *Label5;
TEdit *EditTableT;
TBitBtn *BtnDataCompare;
TBitBtn *BtnUpdate;
TLabel *Label6;
TComboBox *cbCompareMode;
TLabel *LabelCustomFlds;
TEdit *EditCustomFlds;
TLabel *Label8;
TEdit *EditExclFlds;
TLabel *Label3;
TLabel *Label7;
TTableDataComparer *TableDataComparer;
TOpenDialog *OpenDialog1;
TIBSQLExec *IBSQLExec;
TEdit *EditFilterM;
TEdit *EditFilterT;
TCheckBox *cbInsert;
TCheckBox *cbUpdate;
TCheckBox *cbDelete;
TLabel *Label9;
void __fastcall FormCreate(TObject *Sender);
void __fastcall BtnSelFileClick(TObject *Sender);
void __fastcall FormDestroy(TObject *Sender);
void __fastcall LogNextLine(TObject *Sender, UnicodeString LogLine);
void __fastcall ProgressUpdate(TObject *Sender, int Value, int MaxValue);
void __fastcall BtnUpdateClick(TObject *Sender);
void __fastcall BtnDataCompareClick(TObject *);
void __fastcall EditTableMChange(TObject *);
void __fastcall TableDataComparerProgressUpdateMaster(TObject *, int Value, int MaxValue);
void __fastcall TableDataComparerProgressUpdateTarget(TObject *, int Value, int MaxValue);
void __fastcall cbCompareModeChange(TObject *);
void __fastcall TableDataComparerGetSelectSQL(TObject *Sender, TStrings * const SQLM,
TStrings * const SQLT);
void __fastcall TableDataComparerGetCountSQL(TObject *Sender, TStrings * const SQLM,
TStrings * const SQLT);
private: // User declarations
void __fastcall DecodeFields(UnicodeString aFlds, TStrings *aFields);
UnicodeString __fastcall IniFileName();
public: // User declarations
__fastcall TForm1(TComponent* Owner);
void __fastcall ExtractMasterDatabase();
void __fastcall ExtractTargetDatabase();
void __fastcall ExtractMasterScript();
void __fastcall ExtractTargetScript();
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif