Ver Mensaje Individual
  #16  
Antiguo 27-10-2008
lKinGl lKinGl is offline
Miembro
 
Registrado: ago 2007
Posts: 333
Reputación: 17
lKinGl Va por buen camino
Cita:
Empezado por Caro Ver Mensaje
Hola lking, puedes probar con Extract.

Código Delphi [-]SQL.Text := 'Select Fecha,grupo,des_cu,debe,haber '+ 'from costosygastos.db '+ 'where Extract(month from fecha) = '+MonthOf(DateTimePicker.Date)+ ' and Extract(year from fecha) = '+YearOf(DateTimePicker.Date);


Saluditos
me sale un error que dice incompatible types con string and word y otro con string and integer
__________________
Las cosas o son, o no son...
Responder Con Cita