home *** CD-ROM | disk | FTP | other *** search
- //---------------------------------------------------------------------------
- #ifndef DbQueryUH
- #define DbQueryUH
- //---------------------------------------------------------------------------
- #include <vcl\Classes.hpp>
- #include <vcl\Controls.hpp>
- #include <vcl\StdCtrls.hpp>
- #include <vcl\Forms.hpp>
- #include <vcl\Db.hpp>
- #include <vcl\DBGrids.hpp>
- #include <vcl\DBTables.hpp>
- #include <vcl\Grids.hpp>
- //---------------------------------------------------------------------------
- class TForm4 : public TForm
- {
- __published: // IDE-managed Components
- TLabel *Label1;
- TLabel *Label2;
- TLabel *Label3;
- TLabel *Label4;
- TComboBox *DBNamesComboBox;
- TComboBox *TablesComboBox;
- TDBGrid *DBGrid1;
- TEdit *ValueEdit;
- TButton *FilterBtn;
- TDataSource *DataSource1;
- TComboBox *FieldsComboBox;
- TEdit *SQLEdit;
- TLabel *Label5;
- TButton *SQLBtn;
- TDatabase *Database1;
- TQuery *Query1;
- TGroupBox *GroupBox1;
- TLabel *Label6;
- TLabel *Label7;
- TEdit *UserNameEdit;
- TEdit *PasswordEdit;
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall DBNamesComboBoxChange(TObject *Sender);
- void __fastcall TablesComboBoxChange(TObject *Sender);
-
-
- void __fastcall SQLBtnClick(TObject *Sender);
- void __fastcall FilterBtnClick(TObject *Sender);
-
- void __fastcall Database1Login(TDatabase *Database,
- TStrings *LoginParams);
- void __fastcall SQLEditKeyDown(TObject *Sender, WORD &Key,
- TShiftState Shift);
-
- private: // User declarations
- public: // User declarations
- __fastcall TForm4(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern TForm4 *Form4;
- //---------------------------------------------------------------------------
- #endif
-