Código Delphi [-] sp.Params.Parambynam('fecha').AsDatetime:= UnDTPicker.DateTime;
sp.Params.Parambynam('fecha').AsDatetime:= UnDTPicker.DateTime;