Results 1 to 6 of 6
  1. #1
    tony30 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    13

    Query for clashes, How to show what is available first? and then use the resource?

    Hi:


    Thanks to the previous and kind help I was able to get this database up and running, the clashes in the bookings are shown in the bookingform as a subform, so I just need to change a different spot and look when the subform is "clear" and save the booking, all is fine, now my picky boss wants to KNOW in advance which parking spots are "free" now, instead of manually changing one by one and see which one clears the subform.....is there any easy way to implement this? the parking system is a booking system like an hotel... One query can tell me who will be departing TODAY, so those spots will be "clear" at least at NOON, how we can account the ones that are not booked also? ...He also asked me if we can register delays in checkin out, ie. when someone ask for few hours extra something like an "late departure" in hotel lingo...
    Thank you again.
    Tony
    Attached Files Attached Files

  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,642
    In general, you can create a query of everything that is booked right now, then use the unmatched query wizard to compare that to the table of all parking spots. That should result in the available spots.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    tony30 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    13
    Thank you, Paul, That was a great idea , , I would like it , however, to to make it work for future reservations,being able to see no what is available for a given period (in the future)... any suggestions?
    Thanks again
    tony30

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Same concept, but make the first query use a date or date range on a form.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    tony30 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    13
    I tried, did not work..., however I need a more detailed explanation , how the query would "pick " the form values?
    I don't know VB enough yet.
    Thanks

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Wht did you try that didn't work? No VB required, you use form controls in the query criteria. This might be relevant.

    http://www.baldyweb.com/OverLap.htm
    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. Using Access as a Resource Management Tool
    By Datech in forum Access
    Replies: 3
    Last Post: 05-21-2013, 01:17 PM
  2. Replies: 13
    Last Post: 05-11-2012, 11:27 AM
  3. Excess Resource (MSDB)
    By mei909 in forum Programming
    Replies: 1
    Last Post: 09-04-2011, 12:15 AM
  4. Resource/Timesheet Database Design
    By lynchoftawa in forum Database Design
    Replies: 0
    Last Post: 06-06-2009, 10:57 PM
  5. Resource for using linking tables with forms?
    By narayanis in forum Forms
    Replies: 5
    Last Post: 05-18-2008, 04:11 PM

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