Learning123
New member
- Local time
- Today, 17:30
- Joined
- Jan 4, 2009
- Messages
- 9
Hi,
I have a bookings database for horses. I have created a query with these fields:
Date of lesson - parameter query.
Time of lesson
Horse or Pony ID
The user will then look down the query to see if the horse is already booked for that time. If not, then they can go ahead and make the booking.
I have put a Record Count on the Time of Lesson. Horses cannot work more than 5 hours a day. Each lesson is counted as one hour. How do i validate or use some expression e.g. Not >5 on this Count, and then have an error message come up if the horse is selected for over 5 hours?
Thanks
I have a bookings database for horses. I have created a query with these fields:
Date of lesson - parameter query.
Time of lesson
Horse or Pony ID
The user will then look down the query to see if the horse is already booked for that time. If not, then they can go ahead and make the booking.
I have put a Record Count on the Time of Lesson. Horses cannot work more than 5 hours a day. Each lesson is counted as one hour. How do i validate or use some expression e.g. Not >5 on this Count, and then have an error message come up if the horse is selected for over 5 hours?
Thanks