Ver Mensaje Individual
  #5  
Antiguo 24-01-2008
Avatar de dmassive
dmassive dmassive is offline
Miembro
 
Registrado: mar 2004
Ubicación: Paraná - Argentina
Posts: 60
Reputación: 21
dmassive Va por buen camino
Lightbulb

Quizas el amigo Raynel ya lo soluciono pero yo me encontre con un problema similar y lo resolvi asi:
Código:
Table1.FieldByName('Fecha').Value := DateTimePicker1.Date ;
Y si queremos que solo quede la fecha sin la hora asi:
Código:
Table1.FieldByName('Fecha').Value := Trunc(DateTimePicker1.Date) ;
Otra posibilidad:
Código:
Table1.FieldByName('Fecha').AsString := DateToStr(Trunc(DateTimePicker1.Date));
Espero que les sirva.
__________________
"It's nice to be important, but it's more important to be nice"

Última edición por dmassive fecha: 24-01-2008 a las 07:51:05.
Responder Con Cita