Hi
I'm trying to create a booking form which prevents you double booking the material.
I have a booking form (frmBookings) where you enter the [ProductID], [StartDate] of loan and [EndDate]. (tblBookings)
I'm also displaying a subform sfrmBookings which shows all future bookings for the same product. (qryBookingsSubform).
When I enter the startdate in the bookings form, I want it to display a message if the product is already booked.
I've tried an If statement, and do until, but i've got a feeling i'm making things too complicated, and it's not working.
If anyone can help, i'd be grateful.
I'm trying to create a booking form which prevents you double booking the material.
I have a booking form (frmBookings) where you enter the [ProductID], [StartDate] of loan and [EndDate]. (tblBookings)
I'm also displaying a subform sfrmBookings which shows all future bookings for the same product. (qryBookingsSubform).
When I enter the startdate in the bookings form, I want it to display a message if the product is already booked.
I've tried an If statement, and do until, but i've got a feeling i'm making things too complicated, and it's not working.
If anyone can help, i'd be grateful.