Hi, here is the general schema:
tblCat, tblCustomer, tblPen, tblVisit, tblTreatment, tblCarePackage, tblEmployee
When a customer makes a booking, all I need to do is check that there is less than 20 cats in the cattery for every day of the customer's intended visit range. This isn't the same as a car-hire system where if a car is out for one day during the intended hire, then the booking can't be made - it doesn't matter which pen a cat is put into, as long as there is a pen free for each day of their visit.
i.e. a customer wants to hire a ford escort from 1st-10th january but it is already booked for the 9th onwards - the booking can't be made.
a customer wants to put their cat in ANY pen from the 1st - 10th so it just depends on ONE pen being free for every day of this visit.
Any suggestions? My teachers are hopeless and I need to have implemented my system by 20th January!!!
Thanks, Jayce
tblCat, tblCustomer, tblPen, tblVisit, tblTreatment, tblCarePackage, tblEmployee
When a customer makes a booking, all I need to do is check that there is less than 20 cats in the cattery for every day of the customer's intended visit range. This isn't the same as a car-hire system where if a car is out for one day during the intended hire, then the booking can't be made - it doesn't matter which pen a cat is put into, as long as there is a pen free for each day of their visit.
i.e. a customer wants to hire a ford escort from 1st-10th january but it is already booked for the 9th onwards - the booking can't be made.
a customer wants to put their cat in ANY pen from the 1st - 10th so it just depends on ONE pen being free for every day of this visit.
Any suggestions? My teachers are hopeless and I need to have implemented my system by 20th January!!!

Last edited: