I have a query that I am using that has the following fields.
Arrival Time, Appointment Time, Start Time, Departure time.
I am trying to write a IIF statement that tells me.
If arrival Time is prior to appointment time or 15 minutes after appointment time, it needs to calculate from Appointment time to Departure time. If Arrival time is over 15 minutes after appointment time it needs to calculate from Start time to Departure time.
Is this too confusing? It is for me, but this is what my end user has requested and I don't know how to write it. I am using MS Access 2000 database.
Thanks,
Taznleo
Arrival Time, Appointment Time, Start Time, Departure time.
I am trying to write a IIF statement that tells me.
If arrival Time is prior to appointment time or 15 minutes after appointment time, it needs to calculate from Appointment time to Departure time. If Arrival time is over 15 minutes after appointment time it needs to calculate from Start time to Departure time.
Is this too confusing? It is for me, but this is what my end user has requested and I don't know how to write it. I am using MS Access 2000 database.
Thanks,
Taznleo