//--------------------------------------------------------------------------- #include #pragma hdrstop #include "Abfragen_u.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TForm1 *Form1; //--------------------------------------------------------------------------- __fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { } //--------------------------------------------------------------------------- void __fastcall TForm1::Button1Click(TObject *Sender) { ADOQuery1->Active = false; ADOQuery1->SQL->Clear(); ADOQuery1->SQL = Memo1->Lines; ADOQuery1->Active = true; } //---------------------------------------------------------------------------