Ver Mensaje Individual
  #2  
Antiguo 25-09-2007
Avatar de rodrigodeoz
rodrigodeoz rodrigodeoz is offline
Miembro
 
Registrado: sep 2007
Posts: 30
Reputación: 0
rodrigodeoz Va por buen camino
Smile

Mira es algo muy sencillo, tendrias que implementar un codigo que te haga una busqueda por fecha, que seleccione y actualize todos los registros que esten en estatus=pendiente y que la fecha sea menor a fecha actual, mira seria asi:

UPDATE actividades SET Estatus='Finalizada' where FechaFin<:fecha and Estatus='Pendiente';
Responder Con Cita