T
Teknogirl
Hi - I am creating a Reservations Database for Room Reservations. I want to
set my Primary Key to include the period of time that the room is used, and I
don't know how to make the length of time the room is used
([EndTime]-[StartTime]) be a "busy" time.
Right now, if I set the Primary key to be Room, Day and StartTime, then
there could be conflicting reservations for the same room (example: Room is
booked from 8AM to 12PM, and someone could also book the same room from
9AM-11AM).
I think there must be a way to show the total time the room is being used,
and include that in the Primary Key, but I am lost in knowing how to set it
up!! HELP!!
:-D
set my Primary Key to include the period of time that the room is used, and I
don't know how to make the length of time the room is used
([EndTime]-[StartTime]) be a "busy" time.
Right now, if I set the Primary key to be Room, Day and StartTime, then
there could be conflicting reservations for the same room (example: Room is
booked from 8AM to 12PM, and someone could also book the same room from
9AM-11AM).
I think there must be a way to show the total time the room is being used,
and include that in the Primary Key, but I am lost in knowing how to set it
up!! HELP!!
:-D