Well,
It gets a little more complicated. How are you going to handle holidays within the period? You need to build a table of holidays, then process the period startdate/enddate to determine that each date is a holiday/ weenend or regular workday. Count the workdays. This has been discussed extensively in the forum(s). Do a search on the word "Holiday". I, along with several others, have posted more or less complete soloutions to this question.
[sig]<p>MichaelRed<br><a href=mailto:mred@duvallgroup.com>mred@duvallgroup.com</a><br>There is never time to do it right but there is always time to do it over[/sig]