Hi,
I have an equipment booking database the idea is that you book a list of equipment to a scheduled session I have a main form that displays the details for a session, date time location etc..
In that form I have a sub form that displays booked equipment related to that session. When a user attempts to book a piece of equipment a check is run on that piece of equipment to see if it is already booked elsewhere.
To represent this graphically I have created green rectangles on the sub form each representing an hours time slot so rectangle 1 = 09:00 - 10:00 rectangle 2= 10:00 - 11:00 etc when the check is run and if the equipment is booked it changes the rectangles from green to red,
I currently have this working by setting my sub form to continuous forms which lists the equipment that is related to the scheduled session but because the rectangles are not related to the individual equipment record in the detail section of the form when the change in colour on the rectangle box is applied it changes the colour for all equipment records.
So for example a user attempts to book equipment1 which is already booked from 09:00-12:00 and the next equipment record equipment 2 is booked from 17:00 - 19:00 I want to be able to show that both these pieces of equipment are booked at different times.
I think I will be able to do it if a set the sub form to single form view and create say 20 rows of fields and rectangles but that will restrict me to 20 records on the form where as if I set the sub form to continuous forms I can have any number of records....
Hope this makes some sense
Please help
Regards Phill