-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUnit12.pas
43 lines (35 loc) · 791 Bytes
/
Unit12.pas
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
unit Unit12;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Data.DB, Data.Win.ADODB;
type
TForm12 = class(TForm)
ADOQuery1: TADOQuery;
DataSource1: TDataSource;
ADOQuery2: TADOQuery;
ADOQuery3: TADOQuery;
Button1: TButton;
Label1: TLabel;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form12: TForm12;
implementation
uses unit1;
{$R *.dfm}
procedure TForm12.Button1Click(Sender: TObject);
begin
ADOQuery1.Close;
ADOQuery1.ExecSQL;
ADOQuery2.Close;
ADOQuery2.ExecSQL;
ADOQuery3.Close;
ADOQuery3.ExecSQL;
ShowMessage('Veriler Yedeklendi.')
end;
end.