How to calculate working days in a query in MS Access

Does anyone know how  I can create a query to calculate the number of working days from between two dates?
LillyCAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
When using such functions/calculations in a larger environment (company), across multiple areas with different holidays, then the only approach is the simple approach:

Use a prefilled calendar table and mark the work days.
0
Gustav BrockCIOCommented:
A little search will reveal many solutions, also:

Networkdays

And Rey is passing by!
0
LillyCAuthor Commented:
Thanks for your help, I've just worked around it by using DateDiff to identify the number of days between the two dates, then divided it by 7 and multiplied it by the number of days the employee works, to get their working days in that period.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ste5anSenior DeveloperCommented:
hmm, I guess it depends on the place you're livening. We have in Bavaria already three different calendars for holidays depending on the city (Augsburg - an additional peace festival for the peace treaty after the 30 years war, and depending on the majority of either Catholics or Protestants).. ;)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.