I have a database (big surprise
) and I need it to calculate and filter information based on a process name, a number of days for that process and a schedule date.
For the process NC Batch I need it to calculate out 15 working days from today excluding weekends and holidays and then find the records in the orders table that has a schedule date less than or equal to the returned date. I have a calendar in excel that does it with a look up.
I have a table listing holiday dates and a table listing processes and the corresponding day count.
In the query I currently have it listed as
[ScheduleDate]<=Date()+20.
but this will not take into account holidays and it includes weekends.
I know there are several threads on work day functions but I could not get any of them to adapt to my needs. Sorry.

For the process NC Batch I need it to calculate out 15 working days from today excluding weekends and holidays and then find the records in the orders table that has a schedule date less than or equal to the returned date. I have a calendar in excel that does it with a look up.
I have a table listing holiday dates and a table listing processes and the corresponding day count.
In the query I currently have it listed as
[ScheduleDate]<=Date()+20.
but this will not take into account holidays and it includes weekends.
I know there are several threads on work day functions but I could not get any of them to adapt to my needs. Sorry.
Last edited: