D
dl
I spent forever trying to find a way to perform date math that would tell me
which records had a date that was X # of days before today, not including
weekends. Most solutions involved a slew of vba that never seemed to work.
Then I found this post:
http://www.xtremevbtalk.com/archive/index.php/t-241949.html
Which uses 2 DateDiff functions to calculate the # of business from one date
to another. I inserted my field name and a now() to make it dynamic and
BOOM. Simple -perfect.
In case that post goes down:
datediff("d",startdate,enddate) - (datediff("ww",startdate,enddate)*2)
Just wanted to share...
which records had a date that was X # of days before today, not including
weekends. Most solutions involved a slew of vba that never seemed to work.
Then I found this post:
http://www.xtremevbtalk.com/archive/index.php/t-241949.html
Which uses 2 DateDiff functions to calculate the # of business from one date
to another. I inserted my field name and a now() to make it dynamic and
BOOM. Simple -perfect.
In case that post goes down:
datediff("d",startdate,enddate) - (datediff("ww",startdate,enddate)*2)
Just wanted to share...