I am strugling to write a MS access SQL query. I have sepeate fields for date and time being captured. I want to write a query which helps me to calculate TAT. For eg if i received JE on 2/11/2010 at 07:00Am and submit the same at 10AM on same day then it should be 3 hours or 180Min. but if i received inputs after 3:00Pm then it should take next day 7Am as input received time ( working hours: 7:00AM to 4:00PM). Futher adding to this, If there are weekends or holidays in between that time should not be considered in calculating TAT..
Please help ..
Respond me at neerajm575@gmail.com