Hi there,
I'm new to the forum and a very basic user of databases. Recently I've attempted to create a database that allows people to book positions on a lake for fishing. Very similar structure to that of a hotel they book a location for a certain day. I have the basic structure crated already with tables and forms. My dilema at the moment is producing a list of available positions (positions are refered to as swims). MY thinking is to first produce a list of all the swims booked on a specific date then reverse the query as to recieve all booked swims. My knowledge is very basic.
Basically there are 4 tables: Address Table, Assign Table, Membership Details Table and Swim Details Table.
The whole thing works but the booking does not reserve the swim for every day during the guest's stay. It just contains the Begin Date as data and Duration as an integer. LeavingDate is worked out on the availability check form. The thing is I have no idea how to actually stop anyone else booking the swim during the duration of another guest's stay because it doesn't save the actual dates that the swim is booked for.
Can anyone look at my database and help me produce a query of swims booked where by when availability is requested a double booking can not occur as booked swims are shown.
I was going to put a macro button on the availability check form to peform the query for checking to see which swims are booked.
Thank you for your help
Alfie
I'm new to the forum and a very basic user of databases. Recently I've attempted to create a database that allows people to book positions on a lake for fishing. Very similar structure to that of a hotel they book a location for a certain day. I have the basic structure crated already with tables and forms. My dilema at the moment is producing a list of available positions (positions are refered to as swims). MY thinking is to first produce a list of all the swims booked on a specific date then reverse the query as to recieve all booked swims. My knowledge is very basic.
Basically there are 4 tables: Address Table, Assign Table, Membership Details Table and Swim Details Table.
The whole thing works but the booking does not reserve the swim for every day during the guest's stay. It just contains the Begin Date as data and Duration as an integer. LeavingDate is worked out on the availability check form. The thing is I have no idea how to actually stop anyone else booking the swim during the duration of another guest's stay because it doesn't save the actual dates that the swim is booked for.
Can anyone look at my database and help me produce a query of swims booked where by when availability is requested a double booking can not occur as booked swims are shown.
I was going to put a macro button on the availability check form to peform the query for checking to see which swims are booked.
Thank you for your help
Alfie