Tech Help Idea Complex Scheduling: Hello Mr. Rost! I have done some simple scheduling before on a mechanic shop manager database I built where a certain time slot during a certain day would be booked and not allow for overlapping times. This would then show up on the schedule report for the current day. However, I am now working on a stock database model for doctor's offices and I need to use a complex scheduling system where multiple appointments can be at the same time. For example, if a practice has multiple doctors or several nurses, there may be four or five appointments at 8 am. I feel like I'm on the right path with record sets, but I can't quite figure this one out. Also, I'd like to have some way of displaying this in a "schedule view" or "calendar style view". I did some experimenting with crosstab queries and was on the right track, but honestly, this is a very complex issue lol. I like the challenge though!
This would be way beyond a TechHelp video, but I could add something like this either to the Planner template or as part of the Developer classes. Basically you'd just need to schedule doctors in one table and then appointments in another. If you don't have enough doctors for that time slot to see patients (assuming one patient per doctor per slot) then give an error message. I like a challenge too. I'll add this to the list. You wouldn't really even need a recordset for it - just a DLOOKUP.
Brandon Jackson 17 months ago
It's good to know I'm on the right track. That's the way I have it set up currently with doctors in one table and appointments in another. Also, knowing it would be way beyond a Tech Help video makes me feel better about it lol.