unit Unit2;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, DBCtrls, Mask, ComCtrls ,
db,DBTables;
type
TForm2 =
class(TForm)
Button1: TButton;
Label1: TLabel;
DBEdit1: TDBEdit;
Label2: TLabel;
Label3: TLabel;
DBMemo1: TDBMemo;
Label5: TLabel;
DBEdit4: TDBEdit;
Label6: TLabel;
DBEdit5: TDBEdit;
DBNavigator1: TDBNavigator;
Panel1: TPanel;
DBEdit2: TDBEdit;
DateTimePicker: TDateTimePicker;
procedure Button1Click(Sender: TObject);
procedure TDateTimePicker1Click(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form2: TForm2;
implementation
uses datamodul;
{$R *.DFM}
procedure TForm2.Button1Click(Sender: TObject);
begin
close;
end;
procedure TForm2.TDateTimePicker1Click(Sender: TObject);
begin
DM.TTermin.Edit;
DM.tTermin.FieldByName ('
Enddatum').AsDateTime := DateTimePicker.date;
end;
end.