kentwoodjean
Technical User
Having a few date issues based on some queries I need to combine for a report.
I have 2 append queries that run each work day, Monday thru Friday. They provide me data based on the previous business day’s results and result in a weekly report. For the date feature, I needed to create an expression as follows to get my previous days results in inventory.
Weekend: [Closed Dt]-1-Weekday([Closed Dt])
This works fine until I run into the weekend or a 3 day holiday as I did with Good Friday. How should this be formatted to account for those 3 day holiday, or 2 day regular weekends?
I have 2 append queries that run each work day, Monday thru Friday. They provide me data based on the previous business day’s results and result in a weekly report. For the date feature, I needed to create an expression as follows to get my previous days results in inventory.
Weekend: [Closed Dt]-1-Weekday([Closed Dt])
This works fine until I run into the weekend or a 3 day holiday as I did with Good Friday. How should this be formatted to account for those 3 day holiday, or 2 day regular weekends?