Hi All
I have a problem that i can't seem to get my head around
i have a basic for that i am using to record bookings on, what i want to do is this
when the end user clicks the save button, i need the code to see if another booking is happening at the same time (these are recorded in a start date field ) and to provide a msgbox saying "you have a booking at this time already, do you want to continue" if the user click yes the form saves if not it cancels the msgbox.
im fine with the msgbox syntax i just cant workout the criteria for the Dlookup
form fields are
AppointmentID
starttime
endtime
notes
many thanks
Steve