Access VBADiscuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
By linking the base date query (with or without the ExDates) you can determine whether an attraction is booked or not...
build a query and add the Base Date query to it, now add your Bookings table (no links) and set the fields up in the same way as for the ExDates, but you will need > and < appropriately to determine the period between your dates... see what I mean?
This will affectively create a huge table of every piece of equipment (attraction) you have and also the specific days when it is available... is this not what you want?
This is possibly over egging the pudding... but there are bonuses all the way along with this method - mainly in reporting.