Results 1 to 2 of 2
  1. #1
    Troop is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2013
    Posts
    15

    Query for Room Availability


    I want to make a query that tells me if a room available for a person to stay. I have a Arrival Date, Checkout Date and a room number field. I want the query to show me a list of rooms that are available between a period of two dates. So if I enter a arrival Date (12/12/12) and then a checkout date (13/12/12) the query then shows me a list of rooms that are free for those dates. How would I go around doing this?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Probably two steps. First create a query that gives you the rooms booked during that period. This may help:

    http://www.baldyweb.com/OverLap.htm

    then use the unmatched query wizard to compare that query to all rooms, which leaves you with the available rooms.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Architects room data sheets
    By ThatSkepTicGuy in forum Forms
    Replies: 18
    Last Post: 09-19-2012, 09:12 AM
  2. Architects Room Data Sheets
    By ThatSkepTicGuy in forum Database Design
    Replies: 3
    Last Post: 09-10-2012, 10:37 AM
  3. Replies: 3
    Last Post: 04-25-2012, 07:43 AM
  4. Item Availability help
    By Sawyer05 in forum Database Design
    Replies: 1
    Last Post: 02-18-2012, 11:03 AM
  5. Need help with room update query.
    By DevilMaster18 in forum Queries
    Replies: 3
    Last Post: 04-30-2010, 02:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums