"Jim" <ji**@pioneers.cawrote in
news:xcWAj.64813$w94.37134@pd7urf2no:
Guys I'm rusty. Haven't messed with Access in a while.
I'm trying to determine how many workdays (or weekdays) between
two dates.
I don't think their are any "canned" functions within access - or
is there?
Can someone help with a simple function
count(vbweekdays, startdate,enddate), less stat holidays (LOL!)
JT
there have been some deep discussions of this on this list over tha
last few years.
Google for the string "SetHoliday_DayOff". That's a function that
you could modify to tell you how many holidays exist. as for total
days, you use the datediff() function, not count(). You'd need to
wrap that in an user-defined function that removes 2/7ths makes
adjustments for the first and last weeks, and then deducts the
holidays.
--
Bob Quintal
PA is y I've altered my email address.
--
Posted via a free Usenet account from
http://www.teranews.com