2 Advanced
Registered User.
- Local time
- Yesterday, 23:33
- Joined
- Mar 2, 2006
- Messages
- 21
Hi, i searched through some of the threads on how to prevent double booking but my concept is too much complex to prevent from double booking..which i think it is..nehow.
Right, my database is about client booking a driving lesson. One instructor can have many clients but one client can have one instructor. So i would need to prevent client booking with another instructor.. ne ideas?
If a client books a lesson, i have to prevent a lesson being double booked if the client's instructor already have a lesson been booked on the same day/time.
Also i made a seperate Theory and Practical tables. If a client book a normal lesson, e.g. 22/03/2008 Time: 01:00 and the same client books Theory/Practical on the same date and time as normal lesson.. i wondered is there a solution how i can go about with this and prevent several date and times from Theory, Practical and Lesson clashing.
It sound silly that a client would want to book lesson, and theory on same day and time but you never no..lol.
Ne help would be gr8ful, hope its clear to understand, if not, i have a relationship consisting 12 tables to explain it. lol.
Thanks and Much Appreciated!
Right, my database is about client booking a driving lesson. One instructor can have many clients but one client can have one instructor. So i would need to prevent client booking with another instructor.. ne ideas?
If a client books a lesson, i have to prevent a lesson being double booked if the client's instructor already have a lesson been booked on the same day/time.
Also i made a seperate Theory and Practical tables. If a client book a normal lesson, e.g. 22/03/2008 Time: 01:00 and the same client books Theory/Practical on the same date and time as normal lesson.. i wondered is there a solution how i can go about with this and prevent several date and times from Theory, Practical and Lesson clashing.
It sound silly that a client would want to book lesson, and theory on same day and time but you never no..lol.
Ne help would be gr8ful, hope its clear to understand, if not, i have a relationship consisting 12 tables to explain it. lol.
Thanks and Much Appreciated!
