JohnOwens111
New member
- Local time
- Today, 12:23
- Joined
- Feb 22, 2007
- Messages
- 3
Hi Everyone,
hope someone out there can figure this one out.
Since there is no records held in the database for rooms which are not booked, the only way to access "availability" is to use a recordset of rooms which are booked and test against that.
Thanks,
John
hope someone out there can figure this one out.
- I am developing an access database and forms based on a hotel booking system.
- There is a tblRoomState table, which holds the roomID, the date and the state of the room, (so for a 3 night stay, this table holds three entries).
- I have a query which returns any roomID's from the tblRoomState table which have a state value of 1 at a specified date.
- I want to run another query which returns roomID's from the tblRoom table which are not part of the recordset of the first query.
Since there is no records held in the database for rooms which are not booked, the only way to access "availability" is to use a recordset of rooms which are booked and test against that.
Thanks,
John