I have designed a query that returns appointment data for 'n' date and for 'n' team member. Each line of the query has a start time and end time.
Each 'time' is represented as one of 37 small boxes on a form.
I would like to colour all the boxes between each start and end time for each appointment.
The query would look something like this;
Date____Team__ Start__ End
12/05/10 Bob. ..... 9:00... 9:30
12/05/10 Bob..... 10.30.. 12:00
12/05/10 Bob..... 14:30.. 16:00
How dow I loop through each record in the query, first time round the loop will colour boxes between 9:00 and 9:30, second time round loop will colour boxes from 10:30 to 12:00 and third time (and final time) will colour boxes between 14:30 and 16:00
Each 'time' is represented as one of 37 small boxes on a form.
I would like to colour all the boxes between each start and end time for each appointment.
The query would look something like this;
Date____Team__ Start__ End
12/05/10 Bob. ..... 9:00... 9:30
12/05/10 Bob..... 10.30.. 12:00
12/05/10 Bob..... 14:30.. 16:00
How dow I loop through each record in the query, first time round the loop will colour boxes between 9:00 and 9:30, second time round loop will colour boxes from 10:30 to 12:00 and third time (and final time) will colour boxes between 14:30 and 16:00