Hi
I am building a database in which to record hotel room bookings. I need to ensure that a room cant be double booked but I need more than a multi-field primary key for 'date' and 'room_number' as I need to ensure that if a room is booked on the 1st January for 7 nights that it cannot be booked again until the 8th January.
Does anyone have a solution for this ?
Thanks in advance.
Al
I am building a database in which to record hotel room bookings. I need to ensure that a room cant be double booked but I need more than a multi-field primary key for 'date' and 'room_number' as I need to ensure that if a room is booked on the 1st January for 7 nights that it cannot be booked again until the 8th January.
Does anyone have a solution for this ?
Thanks in advance.
Al