![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
26/09/2008, 19:39
|
![Avatar de vidalsoft](http://static.forosdelweb.com/customavatars/avatar250866_3.gif) | | | Fecha de Ingreso: julio-2008 Ubicación: /www/...
Mensajes: 339
Antigüedad: 16 años, 6 meses Puntos: 1 | |
Respuesta: Sistema reservas Hola...
PAra hacer lo que quieres tienes que manejar las fechas de inicio y fin de disponibilidad en tu tabla , por ejemplo la tabla habitaciones_disponibles,
con la siguiente estructura:
(
cod_habitacion nvarchar(8) not null,
fecha_inicio datetime not null,
fecha_fin datetime not nul
)
y cuando hagas las consultas, consultas por el cod_habitacion , y las fechas respectivas!...
espero que te sirva Saludos...
__________________ Anthony Vidal Contreras | @AnthonyVidalC | Skype: vidalsystem | [email protected] |