Currently i am using the following formula (from this forum) to identify the week days in a month. I have modified the formula for end date to date(). I am currently entering the Start date field as part of the query execution. Not in table and not in form. If i could get to start date that is first of the month automated i do not have to change/enter dates anywhere.
(datediff("w",[start date], [end date]) * 5) +
(datediff("d",[start date], [end date])) mod 7 +
((datepart("w", [start date]) < datepart("w", [end date])) * 2)
The reason i am using this formula is to calculate number of sales completed current month. For example if the target for the month is 40 and we have 20 working days then each person has to complete atleast 2 sales multiplied by week days completed.
Hope i did not confue you.
Thanks for your help.
D