with ADOQuery1 do begin
Active:= false;
SQL.Clear;
SQL.Add('SELECT * FROM Udalosti WHERE DatumPom >'+DateTimePicker1.DateTime+'');
Active:=true;
end;
Pricom pole DatumPom naplnam predtym prikazom na inom formulary : TableUdalosti.FieldByName('DatumPom').AsDateTime:= DateTimePicker1.DateTime;