home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 October
/
Chip_2001-10_cd1.bin
/
zkuste
/
delphi
/
kolekce
/
d6
/
FRCLX.ZIP
/
DEMO
/
Unit4.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
2001-07-30
|
687b
|
40 lines
unit Unit4;
interface
uses
SysUtils, Classes, QGraphics, QControls, QForms, QDialogs, QStdCtrls;
type
TForm4 = class(TForm)
Label1: TLabel;
Edit1: TEdit;
Button1: TButton;
procedure FormClose(Sender: TObject; var Action: TCloseAction);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form4: TForm4;
implementation
{$R *.xfm}
uses datasets;
procedure TForm4.FormClose(Sender: TObject; var Action: TCloseAction);
begin
with CustomerData.SQLConnection1 do
begin
Params.Values['Database'] := Edit1.Text;
Connected := True;
end;
CustomerData.customer.Open;
end;
end.