C
Chris
I need to check the records in a subform after someone enters the information
(AfterUpdate on the last field I am assuming where the code will be checked).
I need to check on the status field (Field could be OUT, IN, RES, CX, adn
NS) for RES and the CHECKOUT and CHECKIN Dates. The purpose is to prevent a
reservation (RES) from being made with an existing reservation is in place.
There can be multiple reservations but there cannot be overlapping
reservations. I am thinking my conditions would be to first check status for
any existing RES and then check the CHECKIN Date of the new reservation
versus the CHECKOUT date of the existing reservations. My problem is that I
do not know how to go through the records to check.
(AfterUpdate on the last field I am assuming where the code will be checked).
I need to check on the status field (Field could be OUT, IN, RES, CX, adn
NS) for RES and the CHECKOUT and CHECKIN Dates. The purpose is to prevent a
reservation (RES) from being made with an existing reservation is in place.
There can be multiple reservations but there cannot be overlapping
reservations. I am thinking my conditions would be to first check status for
any existing RES and then check the CHECKIN Date of the new reservation
versus the CHECKOUT date of the existing reservations. My problem is that I
do not know how to go through the records to check.