hosier1
Sep 24 2004, 09:15 AM
Is it possible to figure "Business Days" or "Networkdays" inside an Access query? I know how to do it with Excel, but is it possible with Access?
HiTechCoach
Sep 24 2004, 09:21 AM
Welcome to UA.
If you are doing the calculation in excel in a single cell, I have been able to duplicate is in an access query. Without the calculation you are using, I can not help any more than this.
hosier1
Sep 24 2004, 09:27 AM
Below is the excel formula I'm using. I'm basically figuring the difference between two dates minus weekends and holidays (for 2004).
=NETWORKDAYS(DATE(YEAR(G7), MONTH(G7), DAY(G7)), DATE(YEAR(K7), MONTH(K7), DAY(K7)),{38012,37987,38005,38033,38138,38173,38236,38316,38345,37952,37980})
I don't think Access uses "Networkdays" or if it even uses the same Dateserial numbers as excel.
danishani
Sep 24 2004, 09:35 AM
Taka a search here in the Code Archive, there are some examples of what you are trying to do.
Daniel
hosier1
Sep 24 2004, 09:56 AM
Thank you!
I checked the Code Archive and viola! I found the attachment for that footbinc had, but when I try opening it, Access tells me that it is an unrecognizable database format. Any suggestions?
danishani
Sep 24 2004, 10:18 AM
What post did u found?
The error u got means its problably made in higher version then A97...
Daniel
hosier1
Sep 24 2004, 10:28 AM
I tried the post "Net Work Days (Similar) - footbinc @ 09/17/04 11:14 PM."
danishani
Sep 24 2004, 10:37 AM
Can u forward me the link... that would be easier...

Thanks!
Daniel
hosier1
Sep 24 2004, 10:46 AM
danishani
Sep 24 2004, 10:51 AM
Well it dont let me download the example, if u can post it, I can convert it for you...
Daniel
hosier1
Sep 24 2004, 10:58 AM
here ya go.
thanks for all your help! :-)
danishani
Sep 24 2004, 11:02 AM
Well this sounds very odd, but I cant download anything in here :(

Can u send it to my e-mail adress, check my ID. Thanks, and sorry for the trouble ...
Daniel
danishani
Sep 24 2004, 11:17 AM
Okidoki, converted the A2000 database to A97. Hope it works...

Cheers,
Daniel
hosier1
Sep 24 2004, 11:24 AM
Thanks again for all your help!
Have a great weekend!!
danishani
Sep 24 2004, 11:33 AM
Allrighty, u have a great weekend too

Daniel
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.