K
KerryC
I am trying to create an Aging Report and calculate the number of NetworkDays
between 2 dates in Access 2007. Often times, the 2nd date is Null. In those
cases, I want to calculate the Datediff between the first date and Now().
But if the 2nd date is NOT Null, then I want to do a regular
Datediff("d",date1,date2)
I like the NETWORKDAYS function in Excel in that it will remove the Holidays
you specify. How do I incorporate that into the Datediff function as well in
this case.
I'm still new at this. I know there must be some VBA or Macro or Expression
I can do in my query to get the desired result.
between 2 dates in Access 2007. Often times, the 2nd date is Null. In those
cases, I want to calculate the Datediff between the first date and Now().
But if the 2nd date is NOT Null, then I want to do a regular
Datediff("d",date1,date2)
I like the NETWORKDAYS function in Excel in that it will remove the Holidays
you specify. How do I incorporate that into the Datediff function as well in
this case.
I'm still new at this. I know there must be some VBA or Macro or Expression
I can do in my query to get the desired result.