Ver Mensaje Individual
  #3  
Antiguo 03-03-2015
Avatar de n3mohack
n3mohack n3mohack is offline
Miembro
 
Registrado: may 2004
Ubicación: Chile-Stgo-Huechuraba
Posts: 41
Reputación: 0
n3mohack Va por buen camino
Estimados... la solución era más simple de lo que imaginaba:

Código Delphi [-]
procedure TFMain.sbEventosClick(Sender: TObject);
var
   fecha : TDateTime;
begin
  try
    fecha := strtodate(TEFecha.Text);
  except
    MessageDlg('Fecha inválida. Formato requerido dd/mm/aaaa ', mtError, [mbOk], 0, mbOk);
    exit;
  end;
  Screen.Cursor := crHourGlass;
  Procedimiento.Close;
  Procedimiento.Parameters.ParamByName('@fecha_proceso').Value := fecha;
  Procedimiento.Open;
  Screen.Cursor := crDefault;
end;
__________________
Si es Chileno.. es bueno.
Responder Con Cita