Ann,
I am sorry, on the basis of what you have told us, I can't really get a
precise handle on what you are trying to do here. But there is no such
thing as a "Do..Loop Until macro". And in any case, I don't really
think the concept of some sort of repeating process is a good way to
validate your data entry. You may like to consider options. For
example, on your Check Out form, you could have the textbox for the
date/time disabled. When the Trailer number is entered, you could look
up the most recent transaction for that trailer, and if it's a CheckIn,
you can then enable the date/time textbox... If you want to use a macro
for this, the SetValue action would be applicable.

Signature
Steve Schapel, Microsoft Access MVP
> I need help with setting up a macro Do..Loop Until
> (condition) so that users can't bypass Checking Out
[quoted text clipped - 17 lines]
> Check In the Trailer on 8/17/04.
> Please advise. Thanks.