A
Al
Records BD TargetDate
1 10 10/22/07
2 5 10/29/07
3 1 10/30/07
I need to calculate first date from today plus the number of Business Days
(BD), in this case today plus 10. If any of the BD numbers changes I want to
recalculate all the dates from the changed BD number on. The calculation must
include business days only, i.e. weekends and holidays are excluded as
follows:
Record 1) TargetDate = Date()+10 = 10/22/07
Record 2) TargetDate = 10/22/07 (TargetDate for record 1) + 5 = 10/29/07
Record 3) TargetDate = 10/29/07 (TargetDate for record 2) + 1 = 10/30/07
The above dates are calculated excluding the weekends. In case there was
thanksgiving or xmas that would need to be excluded as well.
If the user wanted to change the BD for any reason, for example changed
record 2) from 5 to 6 then:
Record 2) TargetDate = 10/22/07 (TargetDate for record 1) + 6 = 10/30/07
Record 3) TargetDate = 10/30/07 (TargetDate for record 2) + 1 = 10/31/07
And so on. I am using a datasheet form.
Thanks
Al
1 10 10/22/07
2 5 10/29/07
3 1 10/30/07
I need to calculate first date from today plus the number of Business Days
(BD), in this case today plus 10. If any of the BD numbers changes I want to
recalculate all the dates from the changed BD number on. The calculation must
include business days only, i.e. weekends and holidays are excluded as
follows:
Record 1) TargetDate = Date()+10 = 10/22/07
Record 2) TargetDate = 10/22/07 (TargetDate for record 1) + 5 = 10/29/07
Record 3) TargetDate = 10/29/07 (TargetDate for record 2) + 1 = 10/30/07
The above dates are calculated excluding the weekends. In case there was
thanksgiving or xmas that would need to be excluded as well.
If the user wanted to change the BD for any reason, for example changed
record 2) from 5 to 6 then:
Record 2) TargetDate = 10/22/07 (TargetDate for record 1) + 6 = 10/30/07
Record 3) TargetDate = 10/30/07 (TargetDate for record 2) + 1 = 10/31/07
And so on. I am using a datasheet form.
Thanks
Al